Diff for /parser3/src/lib/md5/pa_md5.h between versions 1.3 and 1.7

version 1.3, 2002/08/01 11:26:48 version 1.7, 2003/04/15 07:17:42
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, 2002 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001, 2003 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="$Id$";  static const char* 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, int mix_in_magic_string,
                               char *result, size_t nbytes);                                char *result_base64, size_t result_base64_size);
 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
 }  }

Removed from v.1.3  
changed lines
  Added in v.1.7


E-mail: