19 lines
381 B
C
19 lines
381 B
C
|
//
|
||
|
// 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_redis_init(void);
|
||
|
int db_mysql_init(void);
|
||
|
void *get_mysql_handle();
|
||
|
void db_mysql_uninit();
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif//DAEMON_AGENT_PROJECT_AGENT_INCLUDE_DATABASE_H
|