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 |
|
#include <openssl/md5.h> |
| 8 |
#include<string> |
#include<string> |
| 9 |
|
|
| 10 |
using namespace std; |
using namespace std; |
| 11 |
typedef enum { |
typedef enum { |
| 12 |
RES_OK = 0, |
RES_OK = 0, |
| 31 |
string intToString( int i ); |
string intToString( int i ); |
| 32 |
string unsignedIntToString( unsigned int i ); |
string unsignedIntToString( unsigned int i ); |
| 33 |
|
|
| 34 |
|
#define MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_LENGTH*2+1) |
| 35 |
|
|
| 36 |
|
char* md5str( char str[MD5_DIGEST_STRING_LENGTH], unsigned char* data, int len ); |
| 37 |
|
|
| 38 |
#endif |
#endif |
| 39 |
|
|
| 40 |
|
|
|
|
Legend:
| Removed from v.1.12 |
|
| changed lines |
| |
Added in v.1.13 |
|
|
|