Go to the source code of this file.
Common functions used for the output formatting by ocs_mgmt_* functions.
Definition in file ocs_mgmt_common.c.
Functions | |
| static char * | mode_string (int mode) |
| void | ocs_mgmt_start_section (ocs_textbuf_t *textbuf, const char *name, int index) |
| Generate the beginning of a numbered section in a management XML document. More... | |
| void | ocs_mgmt_start_unnumbered_section (ocs_textbuf_t *textbuf, const char *name) |
| Generate the beginning of an unnumbered section in a management XML document. More... | |
| void | ocs_mgmt_end_unnumbered_section (ocs_textbuf_t *textbuf, const char *name) |
| Generate the end of a section in a management XML document. More... | |
| void | ocs_mgmt_end_section (ocs_textbuf_t *textbuf, const char *name, int index) |
| Generate the indexed end of a section in a management XML document. More... | |
| void | ocs_mgmt_emit_property_name (ocs_textbuf_t *textbuf, int mode, const char *name) |
| Generate a property, with no value, in a management XML document. More... | |
| void | ocs_mgmt_emit_string (ocs_textbuf_t *textbuf, int mode, const char *name, const char *value) |
| Generate a property with a string value in a management XML document. More... | |
| void | ocs_mgmt_emit_int (ocs_textbuf_t *textbuf, int mode, const char *name, const char *fmt,...) |
| Generate a property with an integer value in a management XML document. More... | |
| void | ocs_mgmt_emit_boolean (ocs_textbuf_t *textbuf, int mode, const char *name, int value) |
| Generate a property with a boolean value in a management XML document. More... | |
|
static |
Definition at line 220 of file ocs_mgmt_common.c.