提交SMOD ATSC IMX APP版本 V122

This commit is contained in:
2026-07-16 14:35:59 +08:00
commit 7601c270d5
485 changed files with 255032 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#ifndef __CGIFUNCS_H__
#define __CGIFUNCS_H__
//*****************************************************************************
//
// Prototypes of functions exported by this module.
//
//*****************************************************************************
int FindCGIParameter(const char *pcToFind, char *pcParam[], int iNumParams);
tBoolean IsValidHexDigit(const char cDigit);
unsigned char HexDigit(const char cDigit);
tBoolean DecodeHexEscape(const char *pcEncoded, char *pcDecoded);
unsigned long EncodeFormString(const char *pcDecoded, char *pcEncoded,
unsigned long ulLen);
unsigned long DecodeFormString(const char *pcEncoded, char *pcDecoded,
unsigned long ulLen);
tBoolean CheckDecimalParam(const char *pcValue, long *plValue);
long GetCGIParam(const char *pcName, char *pcParams[], char *pcValue[],
int iNumParams, tBoolean *pbError);
long GetCGIStringParam(const char *pcName, char *pcParams[], char *pcValue[],
int iNumParams,char *pbuf,int buflen,int ign_quotation);
long GetCGIHexParam(const char *pcName, char *pcParams[], char *pcValue[],
int iNumParams, tBoolean *pbError);
void CheckStringParam(const char *pcValue, char *pbuf);
tBoolean
CheckHexParam(const char *pcValue, long *plValue);
long
GetCGIHexParam(const char *pcName, char *pcParams[], char *pcValue[],
int iNumParams, tBoolean *pbError);
#endif // __CGIFUNCS_H__