--- /srv/reproducible-results/rbuild-debian/r-b-build.fdDdZhTQ/b1/libosmocore_1.9.2-1_armhf.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.fdDdZhTQ/b2/libosmocore_1.9.2-1_armhf.changes ├── Files │ @@ -1,22 +1,22 @@ │ │ - 56834d99ae2837168e4462b807a19697 429668 doc optional libosmocodec-doc_1.9.2-1_all.deb │ + 059df5cd3b805b4f6391ea4309ad4e5c 429428 doc optional libosmocodec-doc_1.9.2-1_all.deb │ b3e2c2b870cb9aed0e9717627c660829 17700 debug optional libosmocodec4-dbgsym_1.9.2-1_armhf.deb │ 707db6a582fa58643e952ba1de09eace 23232 libs optional libosmocodec4_1.9.2-1_armhf.deb │ 30515a689502b417922bf4df13b5aee5 483340 doc optional libosmocoding-doc_1.9.2-1_all.deb │ fe4f7a49e95313a8cbd00af7fe9dcd2f 86180 debug optional libosmocoding0-dbgsym_1.9.2-1_armhf.deb │ 9b06a69efb3b9cd330796871ed6388d3 41948 libs optional libosmocoding0_1.9.2-1_armhf.deb │ de94f3fd658f155dfa61d3c4926008e2 194148 libdevel optional libosmocore-dev_1.9.2-1_armhf.deb │ 831393aa83af49cbc30b82ef237b2dd9 969728 doc optional libosmocore-doc_1.9.2-1_all.deb │ 099f5d4259c307063628b86eefa8e08b 16320 debug optional libosmocore-utils-dbgsym_1.9.2-1_armhf.deb │ 294cb424330a213eb4a6cd3ee0441680 22704 utils optional libosmocore-utils_1.9.2-1_armhf.deb │ 91faaf6c7757350553f6f2669ec3d6c6 322304 debug optional libosmocore21-dbgsym_1.9.2-1_armhf.deb │ fc7119a155fea93d0957327e63f0c165 112956 libs optional libosmocore21_1.9.2-1_armhf.deb │ c7899d1808a97e35e47ff53b1282efa9 15944 libs optional libosmocore_1.9.2-1_armhf.deb │ - 58669fdef1fd0f58951ba05ca0233269 415388 doc optional libosmoctrl-doc_1.9.2-1_all.deb │ + bd7af3153adf20da382da0a717d5293a 415460 doc optional libosmoctrl-doc_1.9.2-1_all.deb │ f9605420c890c11e72178f99c4b17785 41708 debug optional libosmoctrl0-dbgsym_1.9.2-1_armhf.deb │ 66f0431a2c446206c5789a8c68868f6e 29996 libs optional libosmoctrl0_1.9.2-1_armhf.deb │ ec024981d331ee30ab3797e54154d158 439680 debug optional libosmogb14-dbgsym_1.9.2-1_armhf.deb │ f2feb014537bef0194f600d3c217ee4b 132084 libs optional libosmogb14_1.9.2-1_armhf.deb │ 051f33823cbf7521efc7a8eed96955fb 2089660 doc optional libosmogsm-doc_1.9.2-1_all.deb │ 88185dd280f68e4b714dfd18bb423e2c 654320 debug optional libosmogsm20-dbgsym_1.9.2-1_armhf.deb │ cb82c6578b85116430c192d0e31f2c7c 173588 libs optional libosmogsm20_1.9.2-1_armhf.deb ├── libosmocodec-doc_1.9.2-1_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2024-06-05 17:31:49.000000 debian-binary │ │ -rw-r--r-- 0 0 0 7264 2024-06-05 17:31:49.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 422212 2024-06-05 17:31:49.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 421972 2024-06-05 17:31:49.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── ./usr/share/doc/libosmocore/codec/html/ecu__fr_8c.html │ │ │ │ @@ -237,15 +237,15 @@ │ │ │ │ │ │ │ │ │ │ │ │ static │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ -

References __attribute__, OSMO_ECU_CODEC_FR, osmo_ecu_ops_fr, and osmo_ecu_register().

│ │ │ │ +

References __attribute__, OSMO_ECU_CODEC_FR, osmo_ecu_ops_fr, and osmo_ecu_register().

│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │

◆ ecu_fr_frame_in()

│ │ │ │ │ │ │ │
├── libosmoctrl-doc_1.9.2-1_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2024-06-05 17:31:49.000000 debian-binary │ │ -rw-r--r-- 0 0 0 7048 2024-06-05 17:31:49.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 408148 2024-06-05 17:31:49.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 408220 2024-06-05 17:31:49.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/control__cmd_8c.html │ │ │ │ @@ -121,15 +121,15 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ @@ -151,15 +151,15 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ @@ -595,15 +595,15 @@ │ │ │ │ │ │ │ │ │ │ │ │

│ │ │ │ Functions

vector cmd_make_descvec (const char *string, const char *descstr)
 
static struct ctrl_cmd_elementctrl_cmd_get_element_match (vector vline, vector node)
 
int ctrl_cmd_exec (vector vline, struct ctrl_cmd *command, vector node, void *data)
int ctrl_cmd_exec (vector vline, struct ctrl_cmd *command, vector node, void *data)
 Execute a given received command.
 
static void add_word (struct ctrl_cmd_struct *cmd, const char *start, const char *end)
 
static void create_cmd_struct (struct ctrl_cmd_struct *cmd, const char *name)
 
int ctrl_cmd_install (enum ctrl_node_type node, struct ctrl_cmd_element *cmd)
 
struct ctrl_cmdctrl_cmd_parse3 (void *ctx, struct msgb *msg, bool *parse_failed)
 Parse/Decode CTRL from Message buffers into command struct.
 
struct msgbctrl_cmd_make (struct ctrl_cmd *cmd)
 Encode a given CTRL command from its parsed form into a message buffer.
 
struct ctrl_cmd_defctrl_cmd_def_make (const void *ctx, struct ctrl_cmd *cmd, void *data, unsigned int secs)
struct ctrl_cmd_defctrl_cmd_def_make (const void *ctx, struct ctrl_cmd *cmd, void *data, unsigned int secs)
 Build a deferred control command state and keep it the per-connection list of deferred commands.
 
int ctrl_cmd_def_is_zombie (struct ctrl_cmd_def *cd)
 Determine if the given deferred control command is still alive or a zombie.
 
int ctrl_cmd_def_send (struct ctrl_cmd_def *cd)
 Send the response to a deferred ctrl command.
[in]nodeCTRL interface node
[in]dataopaque data passed to verify(), get() and set() call-backs
│ │ │ │ │ │ │ │ │ │ │ │
Returns
CTRL_CMD_HANDLED or CTRL_CMD_REPLY; CTRL_CMD_ERROR on error
│ │ │ │ │ │ │ │ -

References CTRL_CMD_ERROR, ctrl_cmd_get_element_match(), CTRL_CMD_REPLY, CTRL_TYPE_ERROR, CTRL_TYPE_GET, CTRL_TYPE_GET_REPLY, CTRL_TYPE_SET, CTRL_TYPE_SET_REPLY, data, ctrl_cmd_element::get, node, ctrl_cmd::reply, ctrl_cmd_element::set, ctrl_cmd::type, ctrl_cmd::value, and ctrl_cmd_element::verify.

│ │ │ │ +

References CTRL_CMD_ERROR, ctrl_cmd_get_element_match(), CTRL_CMD_REPLY, CTRL_TYPE_ERROR, CTRL_TYPE_GET, CTRL_TYPE_GET_REPLY, CTRL_TYPE_SET, CTRL_TYPE_SET_REPLY, data, ctrl_cmd_element::get, node, ctrl_cmd::reply, ctrl_cmd_element::set, ctrl_cmd::type, ctrl_cmd::value, and ctrl_cmd_element::verify.

│ │ │ │ │ │ │ │

Referenced by ctrl_cmd_handle().

│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │

◆ ctrl_cmd_get_element_match()

│ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/control__cmd_8h.html │ │ │ │ @@ -212,24 +212,24 @@ │ │ │ │
│ │ │ │ } │ │ │ │  Ctrl command types (GET, SET, ...) More...
│ │ │ │   │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ @@ -805,23 +805,23 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

│ │ │ │ Functions

struct ctrl_cmd_defctrl_cmd_def_make (const void *ctx, struct ctrl_cmd *cmd, void *data, unsigned int secs)
struct ctrl_cmd_defctrl_cmd_def_make (const void *ctx, struct ctrl_cmd *cmd, void *data, unsigned int secs)
 Build a deferred control command state and keep it the per-connection list of deferred commands.
 
int ctrl_cmd_def_is_zombie (struct ctrl_cmd_def *cd)
 Determine if the given deferred control command is still alive or a zombie.
 
int ctrl_cmd_def_send (struct ctrl_cmd_def *cd)
 Send the response to a deferred ctrl command.
 
int ctrl_cmd_exec (vector vline, struct ctrl_cmd *command, vector node, void *data)
int ctrl_cmd_exec (vector vline, struct ctrl_cmd *command, vector node, void *data)
 Execute a given received command.
 
int ctrl_cmd_install (enum ctrl_node_type node, struct ctrl_cmd_element *cmd)
 Install a given command definition at a given CTRL node.
 
int ctrl_cmd_send (struct osmo_wqueue *queue, struct ctrl_cmd *cmd)
 Encode a CTRL command and append it to the given write queue.
)
│ │ │ │
│ │ │ │ Value:
static int get_##cmdname(struct ctrl_cmd *cmd, void *_data) \
│ │ │ │
{ \
│ │ │ │ -
dtype *data = cmd->node; \
│ │ │ │ -
cmd->reply = talloc_asprintf(cmd, "%s", data->element); \
│ │ │ │ +
dtype *data = cmd->node; \
│ │ │ │ +
cmd->reply = talloc_asprintf(cmd, "%s", data->element); \
│ │ │ │
if (!cmd->reply) { \
│ │ │ │
cmd->reply = "OOM"; \
│ │ │ │
return CTRL_CMD_ERROR; \
│ │ │ │
} \
│ │ │ │
return CTRL_CMD_REPLY; \
│ │ │ │
}
│ │ │ │ -
uint8_t data[0]
│ │ │ │ +
uint8_t data[0]
│ │ │ │
│ │ │ │

Helper to generate static GET function for string.

│ │ │ │
Parameters
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ @@ -911,16 +911,16 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
[in]cmdnamesymbol name of the command related function
[in]dtypename of outer struct of user data
[in]elementname of field within dtype
)
│ │ │ │
│ │ │ │ Value:
static int set_##cmdname(struct ctrl_cmd *cmd, void *_data) \
│ │ │ │
{ \
│ │ │ │ -
dtype *data = cmd->node; \
│ │ │ │ -
osmo_talloc_replace_string(cmd->node, &data->element, cmd->value); \
│ │ │ │ +
dtype *data = cmd->node; \
│ │ │ │ +
osmo_talloc_replace_string(cmd->node, &data->element, cmd->value); \
│ │ │ │
return get_##cmdname(cmd, _data); \
│ │ │ │
}
│ │ │ │
│ │ │ │

Helper to generate static SET function for string.

│ │ │ │
Parameters
│ │ │ │ │ │ │ │ │ │ │ │ @@ -1279,15 +1279,15 @@ │ │ │ │ │ │ │ │ │ │ │ │
[in]cmdnamesymbol name of the command related function
[in]nodeCTRL interface node
[in]dataopaque data passed to verify(), get() and set() call-backs
│ │ │ │
│ │ │ │
│ │ │ │
Returns
CTRL_CMD_HANDLED or CTRL_CMD_REPLY; CTRL_CMD_ERROR on error
│ │ │ │ │ │ │ │ -

References CTRL_CMD_ERROR, ctrl_cmd_get_element_match(), CTRL_CMD_REPLY, CTRL_TYPE_ERROR, CTRL_TYPE_GET, CTRL_TYPE_GET_REPLY, CTRL_TYPE_SET, CTRL_TYPE_SET_REPLY, data, ctrl_cmd_element::get, node, ctrl_cmd::reply, ctrl_cmd_element::set, ctrl_cmd::type, ctrl_cmd::value, and ctrl_cmd_element::verify.

│ │ │ │ +

References CTRL_CMD_ERROR, ctrl_cmd_get_element_match(), CTRL_CMD_REPLY, CTRL_TYPE_ERROR, CTRL_TYPE_GET, CTRL_TYPE_GET_REPLY, CTRL_TYPE_SET, CTRL_TYPE_SET_REPLY, data, ctrl_cmd_element::get, node, ctrl_cmd::reply, ctrl_cmd_element::set, ctrl_cmd::type, ctrl_cmd::value, and ctrl_cmd_element::verify.

│ │ │ │ │ │ │ │

Referenced by ctrl_cmd_handle().

│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │

◆ ctrl_cmd_install()

│ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/control__cmd_8h_source.html │ │ │ │ @@ -184,17 +184,17 @@ │ │ │ │
91};
│ │ │ │ │ │ │ │
92
│ │ │ │
│ │ │ │
95struct ctrl_cmd_element {
│ │ │ │
97 const char *name;
│ │ │ │
98 struct ctrl_cmd_struct strcmd;
│ │ │ │ -
100 int (*set)(struct ctrl_cmd *cmd, void *data);
│ │ │ │ -
102 int (*get)(struct ctrl_cmd *cmd, void *data);
│ │ │ │ -
104 int (*verify)(struct ctrl_cmd *cmd, const char *value, void *data);
│ │ │ │ +
100 int (*set)(struct ctrl_cmd *cmd, void *data);
│ │ │ │ +
102 int (*get)(struct ctrl_cmd *cmd, void *data);
│ │ │ │ +
104 int (*verify)(struct ctrl_cmd *cmd, const char *value, void *data);
│ │ │ │
105};
│ │ │ │
│ │ │ │
106
│ │ │ │
│ │ │ │
107struct ctrl_cmd_map {
│ │ │ │
108 char *cmd;
│ │ │ │
109 enum ctrl_type type;
│ │ │ │ @@ -393,15 +393,15 @@ │ │ │ │
@ CTRL_NODE_TS
Definition control_cmd.h:24
│ │ │ │
@ CTRL_NODE_TRX
Definition control_cmd.h:23
│ │ │ │
@ CTRL_NODE_BTS
Definition control_cmd.h:22
│ │ │ │
@ CTRL_NODE_FSM_INST
Definition control_cmd.h:26
│ │ │ │
int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd)
Encode a CTRL command and append it to the given write queue.
Definition control_if.c:119
│ │ │ │
int ctrl_cmd_install(enum ctrl_node_type node, struct ctrl_cmd_element *cmd)
Install a given command definition at a given CTRL node.
Definition control_cmd.c:209
│ │ │ │
int ctrl_cmd_exec(vector vline, struct ctrl_cmd *command, vector node, void *data)
Execute a given received command.
Definition control_cmd.c:94
│ │ │ │ -
uint8_t data[0]
│ │ │ │ +
uint8_t data[0]
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
Definition control_cmd.h:113
│ │ │ │
void * data
Definition control_cmd.h:116
│ │ │ │
struct llist_head list
Definition control_cmd.h:114
│ │ │ │
struct ctrl_cmd * cmd
Definition control_cmd.h:115
│ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/control__if_8c.html │ │ │ │ @@ -155,71 +155,71 @@ │ │ │ │  Send TRAP over given Control Interface.
│ │ │ │   │ │ │ │ struct ctrl_cmdctrl_cmd_trap (struct ctrl_cmd *cmd) │ │ │ │  Copy given cmd and convert copy to CTRL_TYPE_TRAP.
│ │ │ │   │ │ │ │ static void control_close_conn (struct ctrl_connection *ccon) │ │ │ │   │ │ │ │ -int ctrl_cmd_handle (struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data) │ │ │ │ +int ctrl_cmd_handle (struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data) │ │ │ │   │ │ │ │ static int handle_control_read (struct osmo_fd *bfd) │ │ │ │   │ │ │ │ int ctrl_handle_msg (struct ctrl_handle *ctrl, struct ctrl_connection *ccon, struct msgb *msg) │ │ │ │  Handle a received CTRL command contained in a Message buffers.
│ │ │ │   │ │ │ │ static int control_write_cb (struct osmo_fd *bfd, struct msgb *msg) │ │ │ │   │ │ │ │ -struct ctrl_connectionosmo_ctrl_conn_alloc (void *ctx, void *data) │ │ │ │ +struct ctrl_connectionosmo_ctrl_conn_alloc (void *ctx, void *data) │ │ │ │  Allocate CTRL connection.
│ │ │ │   │ │ │ │ static int listen_fd_cb (struct osmo_fd *listen_bfd, unsigned int what) │ │ │ │   │ │ │ │ static uint64_t get_rate_ctr_value (const struct rate_ctr *ctr, int intv, const char *grp) │ │ │ │   │ │ │ │ static int get_rate_ctr_group_idx (struct rate_ctr_group *ctrg, int intv, struct ctrl_cmd *cmd) │ │ │ │   │ │ │ │ -static int ctrl_rate_ctr_group_handler (struct rate_ctr_group *ctrg, void *data) │ │ │ │ +static int ctrl_rate_ctr_group_handler (struct rate_ctr_group *ctrg, void *data) │ │ │ │   │ │ │ │  CTRL_CMD_DEFINE (rate_ctr, "rate_ctr *") │ │ │ │   │ │ │ │ -static int get_rate_ctr (struct ctrl_cmd *cmd, void *data) │ │ │ │ +static int get_rate_ctr (struct ctrl_cmd *cmd, void *data) │ │ │ │   │ │ │ │ -static int set_rate_ctr (struct ctrl_cmd *cmd, void *data) │ │ │ │ +static int set_rate_ctr (struct ctrl_cmd *cmd, void *data) │ │ │ │   │ │ │ │ -static int verify_rate_ctr (struct ctrl_cmd *cmd, const char *value, void *data) │ │ │ │ +static int verify_rate_ctr (struct ctrl_cmd *cmd, const char *value, void *data) │ │ │ │   │ │ │ │  CTRL_CMD_DEFINE_RO (stat_item, "stat_item *") │ │ │ │   │ │ │ │ -static int get_stat_item (struct ctrl_cmd *cmd, void *data) │ │ │ │ +static int get_stat_item (struct ctrl_cmd *cmd, void *data) │ │ │ │   │ │ │ │  CTRL_CMD_DEFINE (counter, "counter *") │ │ │ │   │ │ │ │ -static int get_counter (struct ctrl_cmd *cmd, void *data) │ │ │ │ +static int get_counter (struct ctrl_cmd *cmd, void *data) │ │ │ │   │ │ │ │ -static int set_counter (struct ctrl_cmd *cmd, void *data) │ │ │ │ +static int set_counter (struct ctrl_cmd *cmd, void *data) │ │ │ │   │ │ │ │ -static int verify_counter (struct ctrl_cmd *cmd, const char *value, void *data) │ │ │ │ +static int verify_counter (struct ctrl_cmd *cmd, const char *value, void *data) │ │ │ │   │ │ │ │ -struct ctrl_handlectrl_interface_setup (void *data, uint16_t port, ctrl_cmd_lookup lookup) │ │ │ │ +struct ctrl_handlectrl_interface_setup (void *data, uint16_t port, ctrl_cmd_lookup lookup) │ │ │ │   │ │ │ │ static int ctrl_init (unsigned int node_count) │ │ │ │   │ │ │ │ -struct ctrl_handlectrl_handle_alloc2 (void *ctx, void *data, ctrl_cmd_lookup lookup, unsigned int node_count) │ │ │ │ +struct ctrl_handlectrl_handle_alloc2 (void *ctx, void *data, ctrl_cmd_lookup lookup, unsigned int node_count) │ │ │ │  Allocate a CTRL interface handle.
│ │ │ │   │ │ │ │ -struct ctrl_handlectrl_handle_alloc (void *ctx, void *data, ctrl_cmd_lookup lookup) │ │ │ │ +struct ctrl_handlectrl_handle_alloc (void *ctx, void *data, ctrl_cmd_lookup lookup) │ │ │ │  Allocate a CTRL interface handle.
│ │ │ │   │ │ │ │ -struct ctrl_handlectrl_interface_setup_dynip2 (void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup, unsigned int node_count) │ │ │ │ +struct ctrl_handlectrl_interface_setup_dynip2 (void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup, unsigned int node_count) │ │ │ │  Setup CTRL interface on a given address.
│ │ │ │   │ │ │ │ -struct ctrl_handlectrl_interface_setup_dynip (void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup) │ │ │ │ +struct ctrl_handlectrl_interface_setup_dynip (void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup) │ │ │ │  Setup CTRL interface on a given address.
│ │ │ │   │ │ │ │ -struct ctrl_handlectrl_interface_setup2 (void *data, uint16_t default_port, ctrl_cmd_lookup lookup, unsigned int node_count) │ │ │ │ +struct ctrl_handlectrl_interface_setup2 (void *data, uint16_t default_port, ctrl_cmd_lookup lookup, unsigned int node_count) │ │ │ │  Initializes CTRL interface using the configured bind addr/port.
│ │ │ │   │ │ │ │ int ctrl_lookup_register (ctrl_cmd_lookup lookup) │ │ │ │  Install a lookup helper function for control nodes This function is used by e.g.
│ │ │ │   │ │ │ │ struct ctrl_cmdctrl_cmd_exec_from_string (struct ctrl_handle *ch, const char *cmdstr) │ │ │ │  Helper for "local execution" of a CTRL command from a string The function will parse + execute the given control command string and return a corresponding ctrl_cmd.
│ │ │ │ @@ -456,15 +456,15 @@ │ │ │ │ │ │ │ │ ) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ -

References ctrl_cmd_def::cmd, cmd_free_strvec(), cmd_make_strvec(), cmdvec, CTRL_CMD_ERROR, ctrl_cmd_exec(), CTRL_CMD_HANDLED, CTRL_CMD_REPLY, CTRL_NODE_ROOT, ctrl_node_vec, CTRL_TYPE_ERROR, CTRL_TYPE_GET_REPLY, CTRL_TYPE_SET_REPLY, ctrl_type_vals, data, ctrl_cmd_def::data, DLCTRL, get_value_string(), ctrl_cmd::id, lookup_helper::list, llist_for_each_entry, LOGL_DEBUG, LOGL_ERROR, LOGL_NOTICE, LOGP, ctrl_handle::lookup, lookup_helper::lookup, node, ctrl_cmd::node, ctrl_cmd::reply, ctrl_handle::reply_cb, ctrl_cmd::type, ctrl_cmd::variable, vector_active, vector_free(), vector_init(), vector_lookup(), vector_set(), and vector_slot.

│ │ │ │ +

References ctrl_cmd_def::cmd, cmd_free_strvec(), cmd_make_strvec(), cmdvec, CTRL_CMD_ERROR, ctrl_cmd_exec(), CTRL_CMD_HANDLED, CTRL_CMD_REPLY, CTRL_NODE_ROOT, ctrl_node_vec, CTRL_TYPE_ERROR, CTRL_TYPE_GET_REPLY, CTRL_TYPE_SET_REPLY, ctrl_type_vals, data, ctrl_cmd_def::data, DLCTRL, get_value_string(), ctrl_cmd::id, lookup_helper::list, llist_for_each_entry, LOGL_DEBUG, LOGL_ERROR, LOGL_NOTICE, LOGP, ctrl_handle::lookup, lookup_helper::lookup, node, ctrl_cmd::node, ctrl_cmd::reply, ctrl_handle::reply_cb, ctrl_cmd::type, ctrl_cmd::variable, vector_active, vector_free(), vector_init(), vector_lookup(), vector_set(), and vector_slot.

│ │ │ │ │ │ │ │

Referenced by ctrl_cmd_exec_from_string(), and ctrl_handle_msg().

│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │

◆ ctrl_cmd_send()

│ │ │ │ @@ -1127,15 +1127,15 @@ │ │ │ │ │ │ │ │ │ │ │ │ static │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ -

References data, rate_ctr_group::desc, rate_ctr_group_desc::group_name_prefix, rate_ctr_group::idx, and ctrl_cmd::reply.

│ │ │ │ +

References data, rate_ctr_group::desc, rate_ctr_group_desc::group_name_prefix, rate_ctr_group::idx, and ctrl_cmd::reply.

│ │ │ │ │ │ │ │

Referenced by get_rate_ctr().

│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │

◆ get_counter()

│ │ │ │ @@ -1473,15 +1473,15 @@ │ │ │ │ [in]ctxContext from which talloc should allocate it │ │ │ │ [in]datacaller's private data parameter which should assigned to write queue's file descriptor data parameter. │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
Returns
Allocated CTRL connection structure or NULL in case of errors
│ │ │ │ │ │ │ │ -

References osmo_wqueue::bfd, ctrl_connection::cmds, control_write_cb(), osmo_fd::data, data, ctrl_connection::def_cmds, osmo_fd::fd, handle_control_read(), INIT_LLIST_HEAD, osmo_wqueue_init(), osmo_wqueue::read_cb, osmo_wqueue::write_cb, and ctrl_connection::write_queue.

│ │ │ │ +

References osmo_wqueue::bfd, ctrl_connection::cmds, control_write_cb(), osmo_fd::data, data, ctrl_connection::def_cmds, osmo_fd::fd, handle_control_read(), INIT_LLIST_HEAD, osmo_wqueue_init(), osmo_wqueue::read_cb, osmo_wqueue::write_cb, and ctrl_connection::write_queue.

│ │ │ │ │ │ │ │

Referenced by listen_fd_cb().

│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

◆ osmo_fsm_ctrl_cmds_install()

│ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/control__if_8h.html │ │ │ │ @@ -105,51 +105,51 @@ │ │ │ │

│ │ │ │ Data Structures

│ │ │ │ struct  ctrl_handle │ │ │ │   │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │

│ │ │ │ Typedefs

typedef int(* ctrl_cmd_lookup) (void *data, vector vline, int *node_type, void **node_data, int *i)
typedef int(* ctrl_cmd_lookup) (void *data, vector vline, int *node_type, void **node_data, int *i)
 
typedef void(* ctrl_cmd_reply_cb) (struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data)
typedef void(* ctrl_cmd_reply_cb) (struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data)
 
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ @@ -161,29 +161,29 @@ │ │ │ │ │ │ │ │

◆ ctrl_cmd_lookup

│ │ │ │ │ │ │ │
│ │ │ │
│ │ │ │

│ │ │ │ Functions

int ctrl_parse_get_num (vector vline, int i, long *num)
 Parse ascii-encoded decimal number at vline[i].
 
int ctrl_cmd_send (struct osmo_wqueue *queue, struct ctrl_cmd *cmd)
 Encode a CTRL command and append it to the given write queue.
 
int ctrl_cmd_send_trap (struct ctrl_handle *ctrl, const char *name, char *value)
 Send TRAP over given Control Interface.
 
struct ctrl_handlectrl_handle_alloc (void *ctx, void *data, ctrl_cmd_lookup lookup)
struct ctrl_handlectrl_handle_alloc (void *ctx, void *data, ctrl_cmd_lookup lookup)
 Allocate a CTRL interface handle.
 
struct ctrl_handlectrl_handle_alloc2 (void *ctx, void *data, ctrl_cmd_lookup lookup, unsigned int node_count)
struct ctrl_handlectrl_handle_alloc2 (void *ctx, void *data, ctrl_cmd_lookup lookup, unsigned int node_count)
 Allocate a CTRL interface handle.
 
struct ctrl_handlectrl_interface_setup (void *data, uint16_t port, ctrl_cmd_lookup lookup)
struct ctrl_handlectrl_interface_setup (void *data, uint16_t port, ctrl_cmd_lookup lookup)
 
struct ctrl_handlectrl_interface_setup2 (void *data, uint16_t default_port, ctrl_cmd_lookup lookup, unsigned int node_count)
struct ctrl_handlectrl_interface_setup2 (void *data, uint16_t default_port, ctrl_cmd_lookup lookup, unsigned int node_count)
 Initializes CTRL interface using the configured bind addr/port.
 
struct ctrl_handlectrl_interface_setup_dynip (void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup) OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE
struct ctrl_handlectrl_interface_setup_dynip (void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup) OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE
 Setup CTRL interface on a given address.
 
struct ctrl_handlectrl_interface_setup_dynip2 (void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup, unsigned int node_count) OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE
struct ctrl_handlectrl_interface_setup_dynip2 (void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup, unsigned int node_count) OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE
 Setup CTRL interface on a given address.
 
struct ctrl_connectionosmo_ctrl_conn_alloc (void *ctx, void *data)
struct ctrl_connectionosmo_ctrl_conn_alloc (void *ctx, void *data)
 Allocate CTRL connection.
 
int ctrl_cmd_handle (struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data)
int ctrl_cmd_handle (struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data)
 
struct ctrl_cmdctrl_cmd_exec_from_string (struct ctrl_handle *ch, const char *cmdstr)
 Helper for "local execution" of a CTRL command from a string The function will parse + execute the given control command string and return a corresponding ctrl_cmd.
 
int ctrl_lookup_register (ctrl_cmd_lookup lookup)
 Install a lookup helper function for control nodes This function is used by e.g.
 
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │
typedef int(* ctrl_cmd_lookup) (void *data, vector vline, int *node_type, void **node_data, int *i)typedef int(* ctrl_cmd_lookup) (void *data, vector vline, int *node_type, void **node_data, int *i)
│ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │

◆ ctrl_cmd_reply_cb

│ │ │ │ │ │ │ │
│ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │
typedef void(* ctrl_cmd_reply_cb) (struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data)typedef void(* ctrl_cmd_reply_cb) (struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data)
│ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │
│ │ │ │

Function Documentation

│ │ │ │ @@ -254,15 +254,15 @@ │ │ │ │ │ │ │ │ ) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ -

References ctrl_cmd_def::cmd, cmd_free_strvec(), cmd_make_strvec(), cmdvec, CTRL_CMD_ERROR, ctrl_cmd_exec(), CTRL_CMD_HANDLED, CTRL_CMD_REPLY, CTRL_NODE_ROOT, ctrl_node_vec, CTRL_TYPE_ERROR, CTRL_TYPE_GET_REPLY, CTRL_TYPE_SET_REPLY, ctrl_type_vals, data, ctrl_cmd_def::data, DLCTRL, get_value_string(), ctrl_cmd::id, lookup_helper::list, llist_for_each_entry, LOGL_DEBUG, LOGL_ERROR, LOGL_NOTICE, LOGP, ctrl_handle::lookup, lookup_helper::lookup, node, ctrl_cmd::node, ctrl_cmd::reply, ctrl_handle::reply_cb, ctrl_cmd::type, ctrl_cmd::variable, vector_active, vector_free(), vector_init(), vector_lookup(), vector_set(), and vector_slot.

│ │ │ │ +

References ctrl_cmd_def::cmd, cmd_free_strvec(), cmd_make_strvec(), cmdvec, CTRL_CMD_ERROR, ctrl_cmd_exec(), CTRL_CMD_HANDLED, CTRL_CMD_REPLY, CTRL_NODE_ROOT, ctrl_node_vec, CTRL_TYPE_ERROR, CTRL_TYPE_GET_REPLY, CTRL_TYPE_SET_REPLY, ctrl_type_vals, data, ctrl_cmd_def::data, DLCTRL, get_value_string(), ctrl_cmd::id, lookup_helper::list, llist_for_each_entry, LOGL_DEBUG, LOGL_ERROR, LOGL_NOTICE, LOGP, ctrl_handle::lookup, lookup_helper::lookup, node, ctrl_cmd::node, ctrl_cmd::reply, ctrl_handle::reply_cb, ctrl_cmd::type, ctrl_cmd::variable, vector_active, vector_free(), vector_init(), vector_lookup(), vector_set(), and vector_slot.

│ │ │ │ │ │ │ │

Referenced by ctrl_cmd_exec_from_string(), and ctrl_handle_msg().

│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │

◆ ctrl_cmd_send()

│ │ │ │ @@ -824,15 +824,15 @@ │ │ │ │ [in]ctxContext from which talloc should allocate it │ │ │ │ [in]datacaller's private data parameter which should assigned to write queue's file descriptor data parameter. │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
Returns
Allocated CTRL connection structure or NULL in case of errors
│ │ │ │ │ │ │ │ -

References osmo_wqueue::bfd, ctrl_connection::cmds, control_write_cb(), osmo_fd::data, data, ctrl_connection::def_cmds, osmo_fd::fd, handle_control_read(), INIT_LLIST_HEAD, osmo_wqueue_init(), osmo_wqueue::read_cb, osmo_wqueue::write_cb, and ctrl_connection::write_queue.

│ │ │ │ +

References osmo_wqueue::bfd, ctrl_connection::cmds, control_write_cb(), osmo_fd::data, data, ctrl_connection::def_cmds, osmo_fd::fd, handle_control_read(), INIT_LLIST_HEAD, osmo_wqueue_init(), osmo_wqueue::read_cb, osmo_wqueue::write_cb, and ctrl_connection::write_queue.

│ │ │ │ │ │ │ │

Referenced by listen_fd_cb().

│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/control__if_8h_source.html │ │ │ │ @@ -102,17 +102,17 @@ │ │ │ │
3#pragma once
│ │ │ │
4
│ │ │ │
5#include <osmocom/core/write_queue.h>
│ │ │ │
6#include <osmocom/ctrl/control_cmd.h>
│ │ │ │
7
│ │ │ │
8int ctrl_parse_get_num(vector vline, int i, long *num);
│ │ │ │
9
│ │ │ │ -
10typedef int (*ctrl_cmd_lookup)(void *data, vector vline, int *node_type,
│ │ │ │ +
10typedef int (*ctrl_cmd_lookup)(void *data, vector vline, int *node_type,
│ │ │ │
11 void **node_data, int *i);
│ │ │ │ -
12typedef void (*ctrl_cmd_reply_cb)(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data);
│ │ │ │ +
12typedef void (*ctrl_cmd_reply_cb)(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data);
│ │ │ │
13
│ │ │ │
│ │ │ │
14struct ctrl_handle {
│ │ │ │
15 struct osmo_fd listen_fd;
│ │ │ │
16 void *data;
│ │ │ │
17
│ │ │ │
18 ctrl_cmd_lookup lookup;
│ │ │ │ @@ -169,15 +169,15 @@ │ │ │ │
struct ctrl_handle * ctrl_interface_setup(void *data, uint16_t port, ctrl_cmd_lookup lookup)
Definition control_if.c:879
│ │ │ │
int ctrl_handle_msg(struct ctrl_handle *ctrl, struct ctrl_connection *ccon, struct msgb *msg)
Handle a received CTRL command contained in a Message buffers.
Definition control_if.c:383
│ │ │ │
int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd)
Encode a CTRL command and append it to the given write queue.
Definition control_if.c:119
│ │ │ │
int ctrl_cmd_send_trap(struct ctrl_handle *ctrl, const char *name, char *value)
Send TRAP over given Control Interface.
Definition control_if.c:147
│ │ │ │
struct ctrl_cmd * ctrl_cmd_exec_from_string(struct ctrl_handle *ch, const char *cmdstr)
Helper for "local execution" of a CTRL command from a string The function will parse + execute the gi...
Definition control_if.c:1078
│ │ │ │
node_type
│ │ │ │
#define OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE
│ │ │ │ -
uint8_t data[0]
│ │ │ │ +
uint8_t data[0]
│ │ │ │
│ │ │ │
Represents a single ctrl command after parsing.
Definition control_cmd.h:67
│ │ │ │
struct ctrl_connection * ccon
connection through which the command was received
Definition control_cmd.h:69
│ │ │ │
Represents a single ctrl connection.
Definition control_cmd.h:45
│ │ │ │
Definition control_if.h:14
│ │ │ │
ctrl_cmd_lookup lookup
Definition control_if.h:18
│ │ │ │
void * data
Definition control_if.h:16
│ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/fsm__ctrl__commands_8c.html │ │ │ │ @@ -99,30 +99,30 @@ │ │ │ │ #include <errno.h>
│ │ │ │ #include <osmocom/core/fsm.h>
│ │ │ │ #include <osmocom/ctrl/control_cmd.h>
│ │ │ │ #include <osmocom/ctrl/control_if.h>
│ │ │ │
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

│ │ │ │ Functions

static int fsm_ctrl_node_lookup (void *data, vector vline, int *node_type, void **node_data, int *i)
static int fsm_ctrl_node_lookup (void *data, vector vline, int *node_type, void **node_data, int *i)
 control interface lookup function for FSM's
 
static int get_fsm_inst_state (struct ctrl_cmd *cmd, void *data)
static int get_fsm_inst_state (struct ctrl_cmd *cmd, void *data)
 
 CTRL_CMD_DEFINE_RO (fsm_inst_state, "state")
 
static int get_fsm_inst_parent_name (struct ctrl_cmd *cmd, void *data)
static int get_fsm_inst_parent_name (struct ctrl_cmd *cmd, void *data)
 
 CTRL_CMD_DEFINE_RO (fsm_inst_parent_name, "parent-name")
 
static int get_fsm_inst_timer (struct ctrl_cmd *cmd, void *data)
static int get_fsm_inst_timer (struct ctrl_cmd *cmd, void *data)
 
 CTRL_CMD_DEFINE_RO (fsm_inst_timer, "timer")
 
static int get_fsm_inst_dump (struct ctrl_cmd *cmd, void *data)
static int get_fsm_inst_dump (struct ctrl_cmd *cmd, void *data)
 
 CTRL_CMD_DEFINE_RO (fsm_inst_dump, "dump")
 
int osmo_fsm_ctrl_cmds_install (void)
 
│ │ │ │

Function Documentation

│ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/search/all_4.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -11,15 +11,15 @@ │ │ │ │ │ ['../../../gsm/html/group__gad.html#ga19aa011d1747f2db90dddb15c952713d', 1, '__attribute__((packed))(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/group__gsm0808.html#gabe083297fecd14a3d87225c49b69fe88', 1, '__attribute__((packed))(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/group__oml.html#ga9373b3642341c610c476f88db967e8c7', 1, '__attribute__((packed))(Global Namespace)'], │ │ │ │ │ ['../../../core/html/group__stats.html#ga9ed16867a9394d9ccf1132194edae298', 1, '__attribute__((constructor))(Global Namespace)'], │ │ │ │ │ ['../../../core/html/group__sercomm.html#gaf9aace1b44b73111e15aa39f06f43456', 1, '__attribute__((weak))(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/group__rsl.html#ga428e812521d237f352d3eeff0a18398b', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/group__bssmap__le.html#gad27182647f0676ba236c59b17d7adff6', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ - ['../../../gsm/html/group__gsm0808.html#ga00df7213639d8b54dbb889fdf1124ece', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ + ['../../../gsm/html/group__gsm0808.html#gace4de9930729e305e0dc914eacbd8893', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/group__oml.html#gab90e830f0eddb6080edc75cf603f2634', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ ['../../../gb/html/group__libgb.html#gacb62af91c22080e9a8fcbd87d1b737f2', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/structdtap__header.html#a22f0433b8ea279a76fed173726ce4f7f', 1, 'dtap_header::__attribute__'], │ │ │ │ │ ['../../../gsm/html/structgsm48__chan__desc.html#a7c3952a31274a5c3b0bddef302c49733', 1, 'gsm48_chan_desc::__attribute__()'] │ │ │ │ │ ]], │ │ │ │ │ ['_5f_5fhlist_5fdel_2', ['__hlist_del', ['../../../core/html/group__linuxlist.html#ga167c5c3fe3b88a3e499210033585c6d8', 1, ]]], │ │ │ │ │ ['_5f_5fllist_5fadd_3', ['__llist_add', ['../../../core/html/group__linuxlist.html#ga27748bed605feed610e4cabb92cc69a8', 1, ]]], │ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/search/variables_0.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,13 @@ │ │ │ │ │ var searchData = [ │ │ │ │ │ ['_5f_5fattribute_5f_5f_0', ['__attribute__', ['../../../gsm/html/structdtap__header.html#a22f0433b8ea279a76fed173726ce4f7f', 1, 'dtap_header::__attribute__'], │ │ │ │ │ ['../../../gb/html/group__libgb.html#gacb62af91c22080e9a8fcbd87d1b737f2', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/group__rsl.html#ga428e812521d237f352d3eeff0a18398b', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/group__bssmap__le.html#gad27182647f0676ba236c59b17d7adff6', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ - ['../../../gsm/html/group__gsm0808.html#ga00df7213639d8b54dbb889fdf1124ece', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ + ['../../../gsm/html/group__gsm0808.html#gace4de9930729e305e0dc914eacbd8893', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/group__oml.html#gab90e830f0eddb6080edc75cf603f2634', 1, '__attribute__(Global Namespace)'], │ │ │ │ │ ['../../../gsm/html/structabis__rsl__rll__hdr.html#a40e0569939790fa9bc477d5afb0f1b6a', 1, 'abis_rsl_rll_hdr::__attribute__'] │ │ │ │ │ ]], │ │ │ │ │ ['_5fcomp128_5ftable_1', ['_comp128_table', ['../../../gsm/html/group__auth.html#ga1e4a5f73e3ef0da731c7c893e6a616bf', 1, ]]], │ │ │ │ │ ['_5fdata_2', ['_data', ['../../../core/html/structmsgb.html#a61fa77b4345e3a6db6d58a39c5e83177', 1, 'msgb']]], │ │ │ │ │ ['_5flast_5fosmovty_5fnode_3', ['_LAST_OSMOVTY_NODE', ['../../../vty/html/group__command.html#gga6a276b85e2da28c5f9c3dbce61c55682aad50ebd93ab551be0d996e818bf28fe6', 1, ]]], │ │ │ │ │ ['_5flog_5fctx_5fcount_4', ['_LOG_CTX_COUNT', ['../../../core/html/group__logging.html#gga0b31990f947ded850132fde88eac7269a5b769eab13b25bf7b21a07da3cb4091e', 1, ]]], │ │ │ ├── ./usr/share/doc/libosmocore/ctrl/html/structctrl__cmd__element.html │ │ │ │ @@ -104,36 +104,36 @@ │ │ │ │

│ │ │ │ Data Fields

│ │ │ │ const char * name │ │ │ │  textual name/id of the CTRL command
│ │ │ │   │ │ │ │ struct ctrl_cmd_struct strcmd │ │ │ │   │ │ │ │ -int(* set )(struct ctrl_cmd *cmd, void *data) │ │ │ │ +int(* set )(struct ctrl_cmd *cmd, void *data) │ │ │ │  call-back function implementing the SET operation
│ │ │ │   │ │ │ │ -int(* get )(struct ctrl_cmd *cmd, void *data) │ │ │ │ +int(* get )(struct ctrl_cmd *cmd, void *data) │ │ │ │  call-back function implementing the GET operation
│ │ │ │   │ │ │ │ -int(* verify )(struct ctrl_cmd *cmd, const char *value, void *data) │ │ │ │ +int(* verify )(struct ctrl_cmd *cmd, const char *value, void *data) │ │ │ │  call-back function to validate a value; called before SET
│ │ │ │   │ │ │ │ │ │ │ │

Detailed Description

│ │ │ │

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.

│ │ │ │

Field Documentation

│ │ │ │ │ │ │ │

◆ get

│ │ │ │ │ │ │ │
│ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │
int(* ctrl_cmd_element::get) (struct ctrl_cmd *cmd, void *data)int(* ctrl_cmd_element::get) (struct ctrl_cmd *cmd, void *data)
│ │ │ │
│ │ │ │ │ │ │ │

call-back function implementing the GET operation

│ │ │ │ │ │ │ │

Referenced by ctrl_cmd_exec().

│ │ │ │ @@ -161,15 +161,15 @@ │ │ │ │ │ │ │ │

◆ set

│ │ │ │ │ │ │ │
│ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │
int(* ctrl_cmd_element::set) (struct ctrl_cmd *cmd, void *data)int(* ctrl_cmd_element::set) (struct ctrl_cmd *cmd, void *data)
│ │ │ │
│ │ │ │ │ │ │ │

call-back function implementing the SET operation

│ │ │ │ │ │ │ │

Referenced by ctrl_cmd_exec().

│ │ │ │ @@ -195,15 +195,15 @@ │ │ │ │ │ │ │ │

◆ verify

│ │ │ │ │ │ │ │
│ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │
int(* ctrl_cmd_element::verify) (struct ctrl_cmd *cmd, const char *value, void *data)int(* ctrl_cmd_element::verify) (struct ctrl_cmd *cmd, const char *value, void *data)
│ │ │ │
│ │ │ │ │ │ │ │

call-back function to validate a value; called before SET

│ │ │ │ │ │ │ │

Referenced by ctrl_cmd_exec().