// // Created by xajhu on 2021/7/13 0013. // #ifndef DAEMON_AGENT_PROJECT_AGENT_INCLUDE_DATABASE_H #define DAEMON_AGENT_PROJECT_AGENT_INCLUDE_DATABASE_H #ifdef __cplusplus extern "C" { #endif int db_sqlite3_init(); void db_sqlite3_uninit(); int db_sqlite3_sql_exec(const char *pSqlCmd, void *pCallback, void *pData, char **pErr); int db_sqlite3_get_rows(const char *pSqlCmd, char ***dbResult, int *pnRow, int *pnColumn, char **pErr); #ifdef __cplusplus } #endif #endif //DAEMON_AGENT_PROJECT_AGENT_INCLUDE_DATABASE_H