]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
export some functions for dll linkage in the windows build.
authorMichael Jerris <mike@jerris.com>
Sun, 8 Apr 2007 16:24:57 +0000 (16:24 +0000)
committerMichael Jerris <mike@jerris.com>
Sun, 8 Apr 2007 16:24:57 +0000 (16:24 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4893 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_xml.h
src/switch_xml.c

index e7ace98998c2dadb7f31c42602360f191faa1138..89814544ca74ef4cbb4e4b4649248b1e97d09548 100644 (file)
@@ -222,7 +222,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_new(const char *name);
 ///\param name the name of the tag
 ///\param off the offset
 ///\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
 ///\param xml the xml node
@@ -235,7 +235,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_new(const char *name);
 ///\param xml the xml node
 ///\param txt the text
 ///\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
 ///\ sets the character content for the given tag and returns the tag
index 013f578e349392e3e4d236bd10dfd8d99769c7ac..61a0c4cde4fbbe45349d0306570b5c6794fde390 100644 (file)
@@ -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
 // 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;
 
@@ -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
-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)
                return NULL;