⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbbureaucrat.h

📁 bonddb 是一个源于PostgreSQL封装包的对象。它是一个由C/C++编写的快速数据提取层应用软件
💻 H
字号:
#ifndef dbbureaucrat_h#define dbbureaucrat_h/* I think the name says it all */#include "dbobject.h"#include "dbtoliet.h"typedef struct   {   gint obj_instances;   Object **obj;   gint num;   gint lastobjchanged;   }DbBureaucrat;/* For the flushing bit */typedef struct   {   GList *cachelist;   Object *obj;   }DbFlush;/* generate a new instance */gint db_bureaucrat_generateinstance(void);/* delete an object instance */gint db_bureaucrat_deleteinstance(gint instance);gint db_bureaucrat_deleteinstance_byobject(Object *obj);/* free to be called on db_cleanup */void db_bureaucrat_cleanup();/* adds an object into the bureaucrat */gint db_bureaucrat_add(Object * obj);/* search for an object based on instance */Object *db_bureaucrat_find(gint instance);/* Get a list of all objects that have changed. */GList *db_bureaucrat_changedobjects();DbFlush *db_bureaucrat_createflush(Object * obj);void db_bureaucrat_freeflush(GList * flushlist);gint db_bureaucrat_recordwrite(gint instance);/* the freeing of memory */void db_bureaucrat_cleanup();/* Yeah.. not sure. i wrote this function last week */GList *db_bureaucrat_changedobjects();gint db_bureaucrat_checkpendingwrites(Object *obj);gint db_bureaucrat_checkmisticconnections(Object *objchanged, DbCache *cache);gint db_bureaucrat_debug();#endif

⌨️ 快捷键说明

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