mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
22 lines
807 B
C
22 lines
807 B
C
#ifndef CWMP_CLI
|
|
#define CWMP_CLI
|
|
|
|
union cmd_result {
|
|
struct list_head *param_list;
|
|
char *instance;
|
|
};
|
|
|
|
struct cmd_input {
|
|
char *first_input;
|
|
char *second_input;
|
|
};
|
|
|
|
char *cmd_get_exec_func(struct cmd_input in, union cmd_result *res);
|
|
char *cmd_set_exec_func(struct cmd_input in, union cmd_result *res __attribute__((unused)));
|
|
char *cmd_add_exec_func(struct cmd_input in, union cmd_result *res);
|
|
char *cmd_del_exec_func(struct cmd_input in, union cmd_result *res __attribute__((unused)));
|
|
char *cmd_get_notif_exec_func(struct cmd_input in, union cmd_result *res);
|
|
char *cmd_set_notif_exec_func(struct cmd_input in, union cmd_result *res __attribute__((unused)));
|
|
char *cmd_get_names_exec_func(struct cmd_input in, union cmd_result *res);
|
|
char* execute_cwmp_cli_command(char *cmd, char *args[]);
|
|
#endif
|