#ifndef _MODEL_MANAGER_H | |
#define _MODEL_MANAGER_H | |
#include "http_manager.h" | |
#include "ftp_manager.h" | |
#include "list.h" | |
#include "thread_pool.h" | |
#include <log/log.h> | |
#include "ril_manager.h" | |
#include "mqtt_manager.h" | |
#include "common.h" | |
typedef struct | |
{ | |
char *name; | |
void (*func_list_init)(void); | |
int (*func_param_verification)(char result[][BUF_SIZE], int line); | |
int (*func_list_locate)(void); | |
int (*func_act_handler)(thread_pool_t *pool); | |
int (*func_del)(void); | |
int (*func_get)(void); | |
int (*func_set)(void); | |
int (*func_next)(void); | |
}MAG_LIST_S; | |
MAG_LIST_S *list_manager_proc(const char *name); | |
#endif | |