Files
2026-07-13 10:10:01 +08:00

24 lines
439 B
C

#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