|
|
| version 1.5.2.1.2.1, 2003/04/15 15:10:04 | version 1.10, 2004/02/11 15:33:15 |
|---|---|
| Line 3 | Line 3 |
| Replaced ap_ to pa_ prefixes. linked into all targets but Apache-module target, | Replaced ap_ to pa_ prefixes. linked into all targets but Apache-module target, |
| where linked targets/apache/pa_md5c.c stub instead. | where linked targets/apache/pa_md5c.c stub instead. |
| Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) |
| */ | */ |
| /* | /* |
| Line 96 | Line 96 |
| #ifndef PA_MD5_H | #ifndef PA_MD5_H |
| #define PA_MD5_H | #define PA_MD5_H |
| static const char* IDENT_MD5_H="$Date$"; | static const char * const IDENT_MD5_H="$Date$"; |
| #define PA_API_EXPORT(rtype) rtype | #define PA_API_EXPORT(rtype) rtype |
| Line 129 typedef struct { | Line 129 typedef struct { |
| #define PA_MD5PW_ID "$apr1$" | #define PA_MD5PW_ID "$apr1$" |
| #define PA_MD5PW_IDLEN 6 | #define PA_MD5PW_IDLEN 6 |
| PA_API_EXPORT(void) PA_MD5Init(PA_MD5_CTX *context); | PA_API_EXPORT(void) pa_MD5Init(PA_MD5_CTX *context); |
| PA_API_EXPORT(void) PA_MD5Update(PA_MD5_CTX *context, const unsigned char *input, | PA_API_EXPORT(void) pa_MD5Update(PA_MD5_CTX *context, const unsigned char *input, |
| unsigned int inputLen); | unsigned int inputLen); |
| PA_API_EXPORT(void) PA_MD5Final(unsigned char digest[MD5_DIGESTSIZE], | PA_API_EXPORT(void) pa_MD5Final(unsigned char digest[MD5_DIGESTSIZE], |
| PA_MD5_CTX *context); | PA_MD5_CTX *context); |
| PA_API_EXPORT(void) PA_MD5Encode(const unsigned char *password, | PA_API_EXPORT(void) pa_MD5Encode(const unsigned char *password, |
| const unsigned char *salt, | const unsigned char *salt, |
| char *result, size_t nbytes); | char *result, size_t nbytes); |
| PA_API_EXPORT(void) PA_to64(char *s, unsigned long v, int n); | PA_API_EXPORT(void) pa_to64(char *s, unsigned long v, int n); |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |