libosmoctrl 1.11.0.30-c17053
Osmocom CTRL library
|
Implementation of a given CTRL command. More...
#include <control_cmd.h>
Data Fields | |
const char * | name |
textual name/id of the CTRL command More... | |
struct ctrl_cmd_struct | strcmd |
int(* | set )(struct ctrl_cmd *cmd, void *data) |
call-back function implementing the SET operation More... | |
int(* | get )(struct ctrl_cmd *cmd, void *data) |
call-back function implementing the GET operation More... | |
int(* | verify )(struct ctrl_cmd *cmd, const char *value, void *data) |
call-back function to validate a value; called before SET More... | |
Implementation of a given CTRL command.
This is what a program registers using \r ctrl_cmd_install in order to implement a given control variable.
call-back function implementing the GET operation
Referenced by ctrl_cmd_exec().
const char* ctrl_cmd_element::name |
textual name/id of the CTRL command
Referenced by ctrl_cmd_install().
call-back function implementing the SET operation
Referenced by ctrl_cmd_exec().
struct ctrl_cmd_struct ctrl_cmd_element::strcmd |
Referenced by ctrl_cmd_get_element_match(), and ctrl_cmd_install().
call-back function to validate a value; called before SET
Referenced by ctrl_cmd_exec().