Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-02-04 | ctrl: Make it possible to re-use the string get and set routine | Holger Hans Peter Freyther | 1 | -3/+7 | |
This can be used for the description field that requires some special handling for newlines. | |||||
2014-02-04 | ctrl: Make the int range set, get and verify methods available | Holger Hans Peter Freyther | 1 | -4/+12 | |
For the max power reduction we will need to have a different range method. It will need to check if the value is even. Make the set, get and verify methods available through a macro. | |||||
2013-04-17 | ctrl: Provide a reply in case the range check failed | Holger Hans Peter Freyther | 1 | -0/+1 | |
2013-04-17 | ctrl: Make the commands static to not pollute the namespace | Holger Hans Peter Freyther | 1 | -3/+3 | |
We do not need to access these commands from another compilation unit and can just make it static. | |||||
2013-01-11 | ctrl: Work on the cmd->node instead of the data pointer passed | Holger Hans Peter Freyther | 1 | -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-11 | ctrl: Fix the signature of the string control commands | Holger Hans Peter Freyther | 1 | -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-11 | libctrl, osmo-bsc: Get rid of net prefix | Daniel Willmann | 1 | -1/+0 | |
net is now implicit in the root node | |||||
2012-09-11 | libctrl: Add function ctrl_cmd_send_to_all | Daniel Willmann | 1 | -0/+3 | |
Sends a command to all ctrl connections except the one it originated from. | |||||
2012-09-11 | libctrl: Add trap helper function | Daniel Willmann | 1 | -0/+1 | |
2012-09-11 | libctrl: Change controlif_setup so it returns the ctrl handle | Daniel Willmann | 1 | -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-22 | libctrl: Add a function to create the cmd | Holger Hans Peter Freyther | 1 | -0/+1 | |
2011-08-22 | libctrl: Mark the cmd set/get/verify functions static | Daniel Willmann | 1 | -8/+8 | |
2011-07-13 | controlif: declare controlif_setup() in control_cmd.h | Harald Welte | 1 | -0/+3 | |
this avoids us to copy+paste external declarations over all 'main' files. | |||||
2011-07-13 | libctrl: Add ctrl_cmd_cpy() to copy a command | Daniel Willmann | 1 | -0/+1 | |
2011-07-13 | libctrl: Add macros to help define commands | Daniel Willmann | 1 | -0/+69 | |
2011-07-13 | Add libctrl, an SNMP-like control interface | Daniel Willmann | 1 | -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. |