From 771a17b2c82b2aa46e91a15021a5d2994aee5c9c Mon Sep 17 00:00:00 2001 From: wrowe Date: Mon, 16 Oct 2000 06:04:53 +0000 Subject: Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@57896 13f79535-47bb-0310-9956-ffa450edef68 --- encoding/apr_base64.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'encoding/apr_base64.c') diff --git a/encoding/apr_base64.c b/encoding/apr_base64.c index 39d8c516..7a8362fc 100644 --- a/encoding/apr_base64.c +++ b/encoding/apr_base64.c @@ -114,7 +114,7 @@ static const unsigned char pr2six[256] = static apr_xlate_t *xlate_to_ebcdic; static unsigned char os_toascii[256]; -API_EXPORT(apr_status_t) ap_base64init_ebcdic(apr_xlate_t *to_ascii, +AP_DECLARE(apr_status_t) ap_base64init_ebcdic(apr_xlate_t *to_ascii, apr_xlate_t *to_ebcdic) { int i; @@ -150,7 +150,7 @@ API_EXPORT(apr_status_t) ap_base64init_ebcdic(apr_xlate_t *to_ascii, } #endif /*CHARSET_EBCDIC*/ -API_EXPORT(int) ap_base64decode_len(const char *bufcoded) +AP_DECLARE(int) ap_base64decode_len(const char *bufcoded) { int nbytesdecoded; register const unsigned char *bufin; @@ -165,7 +165,7 @@ API_EXPORT(int) ap_base64decode_len(const char *bufcoded) return nbytesdecoded + 1; } -API_EXPORT(int) ap_base64decode(char *bufplain, const char *bufcoded) +AP_DECLARE(int) ap_base64decode(char *bufplain, const char *bufcoded) { #ifdef CHARSET_EBCDIC apr_size_t inbytes_left, outbytes_left; @@ -185,7 +185,7 @@ API_EXPORT(int) ap_base64decode(char *bufplain, const char *bufcoded) /* This is the same as ap_base64decode() except on EBCDIC machines, where * the conversion of the output to ebcdic is left out. */ -API_EXPORT(int) ap_base64decode_binary(unsigned char *bufplain, +AP_DECLARE(int) ap_base64decode_binary(unsigned char *bufplain, const char *bufcoded) { int nbytesdecoded; @@ -233,12 +233,12 @@ API_EXPORT(int) ap_base64decode_binary(unsigned char *bufplain, static const char basis_64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; -API_EXPORT(int) ap_base64encode_len(int len) +AP_DECLARE(int) ap_base64encode_len(int len) { return ((len + 2) / 3 * 4) + 1; } -API_EXPORT(int) ap_base64encode(char *encoded, const char *string, int len) +AP_DECLARE(int) ap_base64encode(char *encoded, const char *string, int len) { #ifndef CHARSET_EBCDIC return ap_base64encode_binary(encoded, (const unsigned char *) string, len); @@ -277,7 +277,7 @@ API_EXPORT(int) ap_base64encode(char *encoded, const char *string, int len) /* This is the same as ap_base64encode() except on EBCDIC machines, where * the conversion of the input to ascii is left out. */ -API_EXPORT(int) ap_base64encode_binary(char *encoded, +AP_DECLARE(int) ap_base64encode_binary(char *encoded, const unsigned char *string, int len) { int i; -- cgit v1.2.1