From: Mathieu Rene Date: Thu, 5 Mar 2009 05:34:26 +0000 (+0000) Subject: update macros X-Git-Tag: v1.0.4~1661 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38a86109093da337cc43146a6d903b5e8d3b648;p=thirdparty%2Ffreeswitch.git update macros git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12448 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_xml_config.h b/src/include/switch_xml_config.h index ab4f63c03e..a0b94c50f5 100644 --- a/src/include/switch_xml_config.h +++ b/src/include/switch_xml_config.h @@ -77,9 +77,9 @@ struct switch_xml_config_item { } ; -#define SWITCH_CONFIG_ITEM (_key, _type, _reloadable, _ptr, _defaultvalue, _data) { _key, _type, _reloadable, _ptr, _defaultvalue, _data, NULL } -#define SWITCH_CONFIG_ITEM_CALLBACK (_key, _type, _reloadable, _ptr, _defaultvalue, _data) { _key, _type, _reloadable, _ptr, _defaultvalue, NULL, _data } -#define SWITCH_CONFIG_ITEM_END () { NULL, SWITCH_CONFIG_LAST, 0, NULL ,NULL, NULL } +#define SWITCH_CONFIG_ITEM (_key, _type, _reloadable, _ptr, _defaultvalue, _data) { _key, _type, _reloadable, _ptr, _defaultvalue, _data, NULL, NULL } +#define SWITCH_CONFIG_ITEM_CALLBACK (_key, _type, _reloadable, _ptr, _defaultvalue, _data, _functiondata) { _key, _type, _reloadable, _ptr, _defaultvalue, NULL, _data, _functiondata } +#define SWITCH_CONFIG_ITEM_END () { NULL, SWITCH_CONFIG_LAST, 0, NULL ,NULL, NULL, NULL } /*! * \brief Parses all the xml elements, following a ruleset defined by an array of switch_xml_config_item_t