rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | #ifndef _MODEL_MANAGER_H
|
| 2 | #define _MODEL_MANAGER_H
|
| 3 |
|
| 4 | #include "http_manager.h"
|
| 5 | #include "ftp_manager.h"
|
| 6 | #include "list.h"
|
| 7 | #include "thread_pool.h"
|
| 8 | #include <log/log.h>
|
| 9 | #include "ril_manager.h"
|
| 10 | #include "mqtt_manager.h"
|
| 11 | #include "common.h"
|
| 12 |
|
| 13 | typedef struct
|
| 14 | {
|
| 15 | char *name;
|
| 16 | void (*func_list_init)(void);
|
| 17 | int (*func_param_verification)(char result[][BUF_SIZE], int line);
|
| 18 | int (*func_list_locate)(void);
|
| 19 | int (*func_act_handler)(thread_pool_t *pool);
|
| 20 | int (*func_del)(void);
|
| 21 | int (*func_get)(void);
|
| 22 | int (*func_set)(void);
|
| 23 | int (*func_next)(void);
|
| 24 | }MAG_LIST_S;
|
| 25 |
|
| 26 |
|
| 27 | MAG_LIST_S *list_manager_proc(const char *name);
|
| 28 |
|
| 29 |
|
| 30 | #endif
|
| 31 |
|