summaryrefslogtreecommitdiff
path: root/include/apr_lib.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-10-16 06:04:50 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-10-16 06:04:50 +0000
commit81912b37409be0387e10346b84749ffdabcd4046 (patch)
tree24b8fe20a3b2235b303d428731c5d38a5b266ea7 /include/apr_lib.h
parenta92d4bd076b126c4d64ebeee40692b4b2d56a128 (diff)
downloadapr-81912b37409be0387e10346b84749ffdabcd4046.tar.gz
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: https://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_lib.h')
-rw-r--r--include/apr_lib.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/apr_lib.h b/include/apr_lib.h
index 7b5f36214..550e35a0f 100644
--- a/include/apr_lib.h
+++ b/include/apr_lib.h
@@ -107,7 +107,7 @@ typedef struct apr_vformatter_buff_t {
* </PRE>
* @deffunc const char * apr_filename_of_pathname(const char *pathname)
*/
-APR_EXPORT(const char *) apr_filename_of_pathname(const char *pathname);
+APR_DECLARE(const char *) apr_filename_of_pathname(const char *pathname);
/* These macros allow correct support of 8-bit characters on systems which
* support 8-bit characters. Pretty dumb how the cast is required, but
@@ -202,7 +202,7 @@ APR_EXPORT(const char *) apr_filename_of_pathname(const char *pathname);
* </PRE>
* @deffunc int apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *b), apr_vformatter_buff_t *c, const char *fmt, va_list ap)
*/
-APR_EXPORT(int) apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *b),
+APR_DECLARE(int) apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *b),
apr_vformatter_buff_t *c, const char *fmt,
va_list ap);
@@ -212,7 +212,7 @@ APR_EXPORT(int) apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *b),
* @param hash The password to validate against
* @deffunc apr_status_t apr_validate_password(const char *passwd, const char *hash)
*/
-APR_EXPORT(apr_status_t) apr_validate_password(const char *passwd, const char *hash);
+APR_DECLARE(apr_status_t) apr_validate_password(const char *passwd, const char *hash);
/*
@@ -241,7 +241,7 @@ APR_EXPORT(apr_status_t) apr_validate_password(const char *passwd, const char *h
* @param ... The arguments to use to fill out the format string.
* @deffunc int apr_snprintf(char *buf, size_t len, const char *format, ...)
*/
-APR_EXPORT_NONSTD(int) apr_snprintf(char *buf, size_t len,
+APR_DECLARE_NONSTD(int) apr_snprintf(char *buf, size_t len,
const char *format, ...)
__attribute__((format(printf,3,4)));
@@ -254,7 +254,7 @@ APR_EXPORT_NONSTD(int) apr_snprintf(char *buf, size_t len,
* @param ap The arguments to use to fill out the format string.
* @deffunc int apr_vsnprintf(char *buf, size_t len, const char *format, va_list ap)
*/
-APR_EXPORT(int) apr_vsnprintf(char *buf, size_t len, const char *format,
+APR_DECLARE(int) apr_vsnprintf(char *buf, size_t len, const char *format,
va_list ap);
/**
@@ -264,7 +264,7 @@ APR_EXPORT(int) apr_vsnprintf(char *buf, size_t len, const char *format,
* @param bufsize The length of the password string.
* @deffunc apr_status_t apr_getpass(const char *prompt, char *pwbuf, size_t *bufsize)
*/
-APR_EXPORT(apr_status_t) apr_getpass(const char *prompt, char *pwbuf, size_t *bufsize);
+APR_DECLARE(apr_status_t) apr_getpass(const char *prompt, char *pwbuf, size_t *bufsize);
/**
* Register a process to be killed when a pool dies.
@@ -280,7 +280,7 @@ APR_EXPORT(apr_status_t) apr_getpass(const char *prompt, char *pwbuf, size_t *bu
* </PRE>
* @deffunc void apr_note_subprocess(struct apr_pool_t *a, apr_proc_t *pid, enum kill_conditions how)
*/
-APR_EXPORT(void) apr_note_subprocess(struct apr_pool_t *a, apr_proc_t *pid,
+APR_DECLARE(void) apr_note_subprocess(struct apr_pool_t *a, apr_proc_t *pid,
enum kill_conditions how);
#ifdef __cplusplus