Lines Matching refs:ocs_textbuf_t
64 typedef void (*ocs_mgmt_get_func)(ocs_t *, char *, ocs_textbuf_t*);
78 typedef void (*ocs_mgmt_get_list_handler)(ocs_textbuf_t *textbuf, void* object);
79 typedef void (*ocs_mgmt_get_all_handler)(ocs_textbuf_t *textbuf, void* object);
80 typedef int (*ocs_mgmt_get_handler)(ocs_textbuf_t *, char *parent, char *name, void *object);
94 extern void ocs_mgmt_start_section(ocs_textbuf_t *textbuf, const char *name, int index);
95 extern void ocs_mgmt_start_unnumbered_section(ocs_textbuf_t *textbuf, const char *name);
96 extern void ocs_mgmt_end_section(ocs_textbuf_t *textbuf, const char *name, int index);
97 extern void ocs_mgmt_end_unnumbered_section(ocs_textbuf_t *textbuf, const char *name);
98 extern void ocs_mgmt_emit_property_name(ocs_textbuf_t *textbuf, int access, const char *name);
99 extern void ocs_mgmt_emit_string(ocs_textbuf_t *textbuf, int access, const char *name, const char *value);
101 extern void ocs_mgmt_emit_int(ocs_textbuf_t *textbuf, int access, const char *name, const char *fmt, ...);
102 extern void ocs_mgmt_emit_boolean(ocs_textbuf_t *textbuf, int access, const char *name, const int value);
106 extern void ocs_mgmt_get_list(ocs_t *ocs, ocs_textbuf_t *textbuf);
107 extern void ocs_mgmt_get_all(ocs_t *ocs, ocs_textbuf_t *textbuf);
108 extern int ocs_mgmt_get(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);