dbtoliet.h

来自「bonddb 是一个源于PostgreSQL封装包的对象。它是一个由C/C++编」· C头文件 代码 · 共 41 行

H
41
字号
/* Developed by treshna Enterprises Ltd * * Unlike what the name describes, this is the write ahead caching system for objects *	It is closely related to the Objects.  The reason why it is * called dbtoliet is the inherltly large amount of flushing required. * * This file was started due to the inherent problems that arise from * write ahead cache due to stale objects, and wanting to read from freshly * written objects. This can not happen, as once an object has been written  * to the database you can not read straight back from it.   * * PLEASE REFER TO dbcache.h FOR MORE DETAILS AS A LOT OF CODE WAS MOVED THERE */#ifndef dbtoilet_h#define dbtoilet_h#include "dbcache.h"/*==============================================================================================* Cache Management*==============================================================================================*//* These functions are been moved to dbcache *//*==============================================================================================* Cache Flushing*==============================================================================================*/gint db_toliet_flushall();gint db_toliet_flush(Object * obj, DbCache * cache);gint db_toliet_flushobject(Object * obj);gint db_toliet_sqlinsert(Object * obj, DbCache * c, gchar ** query);gint db_toliet_sqlupdate(Object * obj, DbCache * c, gchar ** query);gint db_toliet_setwrote(DbCache * cache);gint db_toliet_checkfordefaults(Object *obj, DbCache *cache);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?