summaryrefslogtreecommitdiff
path: root/passwd
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-10-16 06:04:50 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-10-16 06:04:50 +0000
commited62b49141bea6697fbaa7f085af604dbe7b9564 (patch)
tree24b8fe20a3b2235b303d428731c5d38a5b266ea7 /passwd
parentf97d8155700af0ef88f7bca5ad088e1a399a75d3 (diff)
downloadlibapr-ed62b49141bea6697fbaa7f085af604dbe7b9564.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: http://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd')
-rw-r--r--passwd/apr_getpass.c2
-rw-r--r--passwd/apr_md5.c14
2 files changed, 8 insertions, 8 deletions
diff --git a/passwd/apr_getpass.c b/passwd/apr_getpass.c
index e714aa779..9231cca94 100644
--- a/passwd/apr_getpass.c
+++ b/passwd/apr_getpass.c
@@ -204,7 +204,7 @@ static char *getpass(const char *prompt)
* but the caller is *not* made aware of it.
*/
-APR_EXPORT(apr_status_t) apr_getpass(const char *prompt, char *pwbuf, size_t *bufsiz)
+APR_DECLARE(apr_status_t) apr_getpass(const char *prompt, char *pwbuf, size_t *bufsiz)
{
char *pw_got = NULL;
int result = 0;
diff --git a/passwd/apr_md5.c b/passwd/apr_md5.c
index 838b633a2..30ca92183 100644
--- a/passwd/apr_md5.c
+++ b/passwd/apr_md5.c
@@ -186,7 +186,7 @@ static apr_xlate_t *xlate_ebcdic_to_ascii; /* used in apr_MD5Encode() */
/* MD5 initialization. Begins an MD5 operation, writing a new context.
*/
-APR_EXPORT(apr_status_t) apr_MD5Init(apr_md5_ctx_t *context)
+APR_DECLARE(apr_status_t) apr_MD5Init(apr_md5_ctx_t *context)
{
context->count[0] = context->count[1] = 0;
/* Load magic initialization constants. */
@@ -205,7 +205,7 @@ APR_EXPORT(apr_status_t) apr_MD5Init(apr_md5_ctx_t *context)
* to be used for translating the content before calculating the
* digest.
*/
-APR_EXPORT(apr_status_t) apr_MD5SetXlate(apr_md5_ctx_t *context,
+APR_DECLARE(apr_status_t) apr_MD5SetXlate(apr_md5_ctx_t *context,
apr_xlate_t *xlate)
{
apr_status_t rv;
@@ -229,7 +229,7 @@ APR_EXPORT(apr_status_t) apr_MD5SetXlate(apr_md5_ctx_t *context,
operation, processing another message block, and updating the
context.
*/
-APR_EXPORT(apr_status_t) apr_MD5Update(apr_md5_ctx_t *context,
+APR_DECLARE(apr_status_t) apr_MD5Update(apr_md5_ctx_t *context,
const unsigned char *input,
unsigned int inputLen)
{
@@ -311,7 +311,7 @@ APR_EXPORT(apr_status_t) apr_MD5Update(apr_md5_ctx_t *context,
/* MD5 finalization. Ends an MD5 message-digest operation, writing the
the message digest and zeroizing the context.
*/
-APR_EXPORT(apr_status_t) apr_MD5Final(unsigned char digest[MD5_DIGESTSIZE],
+APR_DECLARE(apr_status_t) apr_MD5Final(unsigned char digest[MD5_DIGESTSIZE],
apr_md5_ctx_t *context)
{
unsigned char bits[8];
@@ -461,7 +461,7 @@ static void Decode(UINT4 *output, const unsigned char *input, unsigned int len)
}
#ifdef CHARSET_EBCDIC
-APR_EXPORT(apr_status_t) apr_MD5InitEBCDIC(apr_xlate_t *xlate)
+APR_DECLARE(apr_status_t) apr_MD5InitEBCDIC(apr_xlate_t *xlate)
{
xlate_ebcdic_to_ascii = xlate;
return APR_SUCCESS;
@@ -491,7 +491,7 @@ static void to64(char *s, unsigned long v, int n)
}
}
-APR_EXPORT(apr_status_t) apr_MD5Encode(const char *pw, const char *salt,
+APR_DECLARE(apr_status_t) apr_MD5Encode(const char *pw, const char *salt,
char *result, size_t nbytes)
{
/*
@@ -652,7 +652,7 @@ APR_EXPORT(apr_status_t) apr_MD5Encode(const char *pw, const char *salt,
* APR_EMISMATCH if they don't.
*/
-APR_EXPORT(apr_status_t) apr_validate_password(const char *passwd,
+APR_DECLARE(apr_status_t) apr_validate_password(const char *passwd,
const char *hash)
{
char sample[120];