Add paramcodec file
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef _PARAMCODEC_H_
|
||||
#define _PARAMCODEC_H_
|
||||
|
||||
#define MAX_KEY_NUM 32
|
||||
#define MAX_STR_LEN 256
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)&&!defined(PHP_WIN32)
|
||||
_declspec(dllexport)
|
||||
#endif
|
||||
|
||||
int ParamEncode( char* strEncode, int* len, char (*arrMap)[2][MAX_STR_LEN], int num );
|
||||
#ifdef PHP_WIN32
|
||||
int ParamDecode( char* strDecode, int len, char (*arrMap)[2][MAX_STR_LEN], int* num );
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user