This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-maat/src/entry/config_monitor.h

16 lines
490 B
C
Raw Normal View History

#ifndef __CONFIG_MONITOR_H_INCLUDE_
#define __CONFIG_MONITOR_H_INCLUDE_
#define CM_UPDATE_TYPE_FULL 1
#define CM_UPDATE_TYPE_INC 2
void config_monitor_traverse(unsigned int version,const char*idx_dir,
void (*start)(unsigned int ,int ,void*),//vesion,CM_UPDATE_TYPE_*,u_para
int (*update)(const char* ,const char*,void* ),//table name ,line ,u_para
void (*finish)(void*),//u_para
void* u_para,
2017-06-09 20:46:28 +08:00
const unsigned char* dec_key,
void* logger);
#endif