vcpe/srcs/libs/include/database.h

19 lines
525 B
C
Raw Permalink Normal View History

2022-05-10 06:43:27 +00:00
//
// 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
2023-03-31 06:32:32 +00:00
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);
2022-05-10 06:43:27 +00:00
#ifdef __cplusplus
}
#endif
2022-12-02 06:42:37 +00:00
#endif //DAEMON_AGENT_PROJECT_AGENT_INCLUDE_DATABASE_H