Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.14 by aga, Wed Feb 9 02:14:15 2005 UTC revision 1.15 by tani, Fri Feb 25 07:42:57 2005 UTC
# Line 4  Line 4 
4  #if !defined( COMMON_H )  #if !defined( COMMON_H )
5  #define COMMON_H  #define COMMON_H
6    
7    
8    #if defined(_MSC_VER)
9    #define PROTOTYPES 1
10    #include "md5/global.h"
11    #include "md5/md5.h"
12    
13    #define MD5_Init MD5Init
14    #define MD5_Update MD5Update
15    #define MD5_Final MD5Final
16    
17    #define snprintf _snprintf
18    
19    #else
20  #include <openssl/md5.h>  #include <openssl/md5.h>
21    #endif
22  #include<string>  #include<string>
23    
24  using namespace std;  using namespace std;
# Line 35  char* str_dup( const char* ); Line 49  char* str_dup( const char* );
49  char* setValue( char** , const char* );  char* setValue( char** , const char* );
50  string intToString( int i );  string intToString( int i );
51  string unsignedIntToString( unsigned int i );  string unsignedIntToString( unsigned int i );
52    string doubleToString( double d );
53    
54  #define MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_LENGTH*2+1)  #define MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_LENGTH*2+1)
55    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26