summaryrefslogtreecommitdiff
path: root/include/apr_xml.h
diff options
context:
space:
mode:
authorBojan Smojver <bojan@apache.org>2009-07-16 04:52:56 +0000
committerBojan Smojver <bojan@apache.org>2009-07-16 04:52:56 +0000
commita8a38fa8c6aee51481b3f93ebc6c0a7dbc385191 (patch)
tree0c1c98ecda582dad96c430c26da47dc11375a87e /include/apr_xml.h
parentca371098d7183a23cea08a7605d9a95926864a0a (diff)
downloadapr-a8a38fa8c6aee51481b3f93ebc6c0a7dbc385191.tar.gz
Convert various APU_DECLARE into APR_DECLARE.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@794523 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_xml.h')
-rw-r--r--include/apr_xml.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/apr_xml.h b/include/apr_xml.h
index 2a43b283e..62fed68d1 100644
--- a/include/apr_xml.h
+++ b/include/apr_xml.h
@@ -74,7 +74,7 @@ struct apr_text_header {
* @param hdr The text header to append to
* @param text The new text to append
*/
-APU_DECLARE(void) apr_text_append(apr_pool_t *p, apr_text_header *hdr,
+APR_DECLARE(void) apr_text_append(apr_pool_t *p, apr_text_header *hdr,
const char *text);
@@ -212,7 +212,7 @@ typedef struct apr_xml_parser apr_xml_parser;
* @param pool The pool for allocating the parser and the parse results.
* @return The new parser.
*/
-APU_DECLARE(apr_xml_parser *) apr_xml_parser_create(apr_pool_t *pool);
+APR_DECLARE(apr_xml_parser *) apr_xml_parser_create(apr_pool_t *pool);
/**
* Parse a File, producing a xml_doc
@@ -224,7 +224,7 @@ APU_DECLARE(apr_xml_parser *) apr_xml_parser_create(apr_pool_t *pool);
* @param buffer_length Buffer length which would be suitable
* @return Any errors found during parsing.
*/
-APU_DECLARE(apr_status_t) apr_xml_parse_file(apr_pool_t *p,
+APR_DECLARE(apr_status_t) apr_xml_parse_file(apr_pool_t *p,
apr_xml_parser **parser,
apr_xml_doc **ppdoc,
apr_file_t *xmlfd,
@@ -239,7 +239,7 @@ APU_DECLARE(apr_status_t) apr_xml_parse_file(apr_pool_t *p,
* @return Any errors found during parsing.
* @remark Use apr_xml_parser_geterror() to get more error information.
*/
-APU_DECLARE(apr_status_t) apr_xml_parser_feed(apr_xml_parser *parser,
+APR_DECLARE(apr_status_t) apr_xml_parser_feed(apr_xml_parser *parser,
const char *data,
apr_size_t len);
@@ -251,7 +251,7 @@ APU_DECLARE(apr_status_t) apr_xml_parser_feed(apr_xml_parser *parser,
* @return Any errors found during the final stage of parsing.
* @remark Use apr_xml_parser_geterror() to get more error information.
*/
-APU_DECLARE(apr_status_t) apr_xml_parser_done(apr_xml_parser *parser,
+APR_DECLARE(apr_status_t) apr_xml_parser_done(apr_xml_parser *parser,
apr_xml_doc **pdoc);
/**
@@ -261,7 +261,7 @@ APU_DECLARE(apr_status_t) apr_xml_parser_done(apr_xml_parser *parser,
* @param errbufsize The length of the error text buffer.
* @return The error buffer
*/
-APU_DECLARE(char *) apr_xml_parser_geterror(apr_xml_parser *parser,
+APR_DECLARE(char *) apr_xml_parser_geterror(apr_xml_parser *parser,
char *errbuf,
apr_size_t errbufsize);
@@ -282,7 +282,7 @@ APU_DECLARE(char *) apr_xml_parser_geterror(apr_xml_parser *parser,
* @param pbuf Buffer to put the converted text into
* @param psize Size of the converted text
*/
-APU_DECLARE(void) apr_xml_to_text(apr_pool_t *p, const apr_xml_elem *elem,
+APR_DECLARE(void) apr_xml_to_text(apr_pool_t *p, const apr_xml_elem *elem,
int style, apr_array_header_t *namespaces,
int *ns_map, const char **pbuf,
apr_size_t *psize);
@@ -299,7 +299,7 @@ APU_DECLARE(void) apr_xml_to_text(apr_pool_t *p, const apr_xml_elem *elem,
* @param elem The XML element to empty
* @return the string that was stored in the XML element
*/
-APU_DECLARE(const char *) apr_xml_empty_elem(apr_pool_t *p,
+APR_DECLARE(const char *) apr_xml_empty_elem(apr_pool_t *p,
const apr_xml_elem *elem);
/**
@@ -312,7 +312,7 @@ APU_DECLARE(const char *) apr_xml_empty_elem(apr_pool_t *p,
* @note If the string does not contain special characters, it is not
* duplicated into the pool and the original string is returned.
*/
-APU_DECLARE(const char *) apr_xml_quote_string(apr_pool_t *p, const char *s,
+APR_DECLARE(const char *) apr_xml_quote_string(apr_pool_t *p, const char *s,
int quotes);
/**
@@ -320,7 +320,7 @@ APU_DECLARE(const char *) apr_xml_quote_string(apr_pool_t *p, const char *s,
* @param p The pool to allocate out of
* @param elem The element to quote
*/
-APU_DECLARE(void) apr_xml_quote_elem(apr_pool_t *p, apr_xml_elem *elem);
+APR_DECLARE(void) apr_xml_quote_elem(apr_pool_t *p, apr_xml_elem *elem);
/* manage an array of unique URIs: apr_xml_insert_uri() and APR_XML_URI_ITEM() */
@@ -330,7 +330,7 @@ APU_DECLARE(void) apr_xml_quote_elem(apr_pool_t *p, apr_xml_elem *elem);
* @param uri The uri to insert
* @return int The uri's index
*/
-APU_DECLARE(int) apr_xml_insert_uri(apr_array_header_t *uri_array,
+APR_DECLARE(int) apr_xml_insert_uri(apr_array_header_t *uri_array,
const char *uri);
/** Get the URI item for this XML element */
@@ -344,7 +344,7 @@ APU_DECLARE(int) apr_xml_insert_uri(apr_array_header_t *uri_array,
* @param xlate The translation handle to use.
* @return Any errors found during conversion.
*/
-APU_DECLARE(apr_status_t) apr_xml_parser_convert_doc(apr_pool_t *p,
+APR_DECLARE(apr_status_t) apr_xml_parser_convert_doc(apr_pool_t *p,
apr_xml_doc *pdoc,
apr_xlate_t *convset);
#endif