aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/control_cmd.h
AgeCommit message (Collapse)AuthorFilesLines
2013-01-11ctrl: Work on the cmd->node instead of the data pointer passedHolger Hans Peter Freyther1-9/+9
Make the macros use the cmd->node instead of the data pointer. The naming of the variable inside the macro already indicates that it should use the nodes data structure.
2013-01-11ctrl: Fix the signature of the string control commandsHolger Hans Peter Freyther1-2/+7
Like with all type unsafe callbacks we will need to cast from void to the dtype. This addresses some compiler warnings. Make it possible to only include the control_cmd.h to use the macros defined in this file.
2012-09-11libctrl, osmo-bsc: Get rid of net prefixDaniel Willmann1-1/+0
net is now implicit in the root node
2012-09-11libctrl: Add function ctrl_cmd_send_to_allDaniel Willmann1-0/+3
Sends a command to all ctrl connections except the one it originated from.
2012-09-11libctrl: Add trap helper functionDaniel Willmann1-0/+1
2012-09-11libctrl: Change controlif_setup so it returns the ctrl handleDaniel Willmann1-1/+0
nat: Catch up with controlif_setup API change We now save a control handle reference in the nat osmo-bsc: Catch up with controlif_setup API change We now save a control handle reference in the gsm network
2011-08-22libctrl: Add a function to create the cmdHolger Hans Peter Freyther1-0/+1
2011-08-22libctrl: Mark the cmd set/get/verify functions staticDaniel Willmann1-8/+8
2011-07-13controlif: declare controlif_setup() in control_cmd.hHarald Welte1-0/+3
this avoids us to copy+paste external declarations over all 'main' files.
2011-07-13libctrl: Add ctrl_cmd_cpy() to copy a commandDaniel Willmann1-0/+1
2011-07-13libctrl: Add macros to help define commandsDaniel Willmann1-0/+69
2011-07-13Add libctrl, an SNMP-like control interfaceDaniel Willmann1-0/+81
In contrast to the VTY interface the control interface is meant to be used by programs. This patch adds basic support, no commands are defined.