mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Feature: Added reportxml_helper_add_value_flag()
This commit is contained in:
parent
d30efd5842
commit
4210ab31db
@ -18,6 +18,7 @@ void reportxml_helper_add_value(reportxml_node_t *parent, const char *type, cons
|
||||
#define reportxml_helper_add_value_string(parent,member,str) reportxml_helper_add_value((parent), "string", (member), (str))
|
||||
#define reportxml_helper_add_value_enum(parent,member,str) reportxml_helper_add_value((parent), "enum", (member), (str))
|
||||
#define reportxml_helper_add_value_boolean(parent,member,value) reportxml_helper_add_value((parent), "boolean", (member), (value) ? "true" : "false")
|
||||
#define reportxml_helper_add_value_flag(parent,member,value) reportxml_helper_add_value((parent), "flag", (member), (value) ? "true" : "false")
|
||||
void reportxml_helper_add_value_int(reportxml_node_t *parent, const char *member, long long int val);
|
||||
|
||||
void reportxml_helper_add_text(reportxml_node_t *parent, const char *definition, const char *text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user