Browse CVS Repository
Diff of /xoonips/AL/common.h
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 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; |
| 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 |
|
|
|