提交 fec6cb9b authored 作者: Michael Jerris's avatar Michael Jerris

export some functions for dll linkage in the windows build.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4893 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9b1f96a8
...@@ -222,7 +222,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_new(const char *name); ...@@ -222,7 +222,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_new(const char *name);
///\param name the name of the tag ///\param name the name of the tag
///\param off the offset ///\param off the offset
///\return an xml node or NULL ///\return an xml node or NULL
switch_xml_t switch_xml_add_child(switch_xml_t xml, const char *name, switch_size_t off); SWITCH_DECLARE(switch_xml_t) switch_xml_add_child(switch_xml_t xml, const char *name, switch_size_t off);
///\brief wrapper for switch_xml_add_child() that strdup()s name ///\brief wrapper for switch_xml_add_child() that strdup()s name
///\param xml the xml node ///\param xml the xml node
...@@ -235,7 +235,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_new(const char *name); ...@@ -235,7 +235,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_new(const char *name);
///\param xml the xml node ///\param xml the xml node
///\param txt the text ///\param txt the text
///\return an xml node or NULL ///\return an xml node or NULL
switch_xml_t switch_xml_set_txt(switch_xml_t xml, const char *txt); SWITCH_DECLARE(switch_xml_t) switch_xml_set_txt(switch_xml_t xml, const char *txt);
///\brief wrapper for switch_xml_set_txt() that strdup()s txt ///\brief wrapper for switch_xml_set_txt() that strdup()s txt
///\ sets the character content for the given tag and returns the tag ///\ sets the character content for the given tag and returns the tag
......
...@@ -1570,7 +1570,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_insert(switch_xml_t xml, switch_xml_t de ...@@ -1570,7 +1570,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_insert(switch_xml_t xml, switch_xml_t de
// Adds a child tag. off is the offset of the child tag relative to the start // Adds a child tag. off is the offset of the child tag relative to the start
// of the parent tag's character content. Returns the child tag // of the parent tag's character content. Returns the child tag
switch_xml_t switch_xml_add_child(switch_xml_t xml, const char *name, switch_size_t off) SWITCH_DECLARE(switch_xml_t) switch_xml_add_child(switch_xml_t xml, const char *name, switch_size_t off)
{ {
switch_xml_t child; switch_xml_t child;
...@@ -1587,7 +1587,7 @@ switch_xml_t switch_xml_add_child(switch_xml_t xml, const char *name, switch_siz ...@@ -1587,7 +1587,7 @@ switch_xml_t switch_xml_add_child(switch_xml_t xml, const char *name, switch_siz
} }
// sets the character content for the given tag and returns the tag // sets the character content for the given tag and returns the tag
switch_xml_t switch_xml_set_txt(switch_xml_t xml, const char *txt) SWITCH_DECLARE(switch_xml_t) switch_xml_set_txt(switch_xml_t xml, const char *txt)
{ {
if (!xml) if (!xml)
return NULL; return NULL;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论