-typedef struct ST_PS_DATA_FORMAT {
+struct st_ps_data_format {
enum eType eDataType;
bool bIsArray;
-}ST_PS_DATA_FORMAT;
+};
typedef struct ST_READ_STATUS {
unsigned uTagID;
}
}
/* PS parser helper function */
-unsigned int uGetInputDataFormat(char *pCharLine, ST_PS_DATA_FORMAT *pstFormat)
+unsigned int uGetInputDataFormat(char *pCharLine, struct st_ps_data_format *pstFormat)
{
if(pCharLine[0] != '[') {
pstFormat->eDataType = eHex;
}
}
-unsigned int uReadDataInSection(char *pCharLine, ST_PS_DATA_FORMAT stPS_DataFormat)
+unsigned int uReadDataInSection(char *pCharLine, struct st_ps_data_format stPS_DataFormat)
{
char *pTokenPtr = pCharLine;
int uReadCount;
- ST_PS_DATA_FORMAT stPS_DataFormat;
+ struct st_ps_data_format stPS_DataFormat;
ST_READ_STATUS stReadStatus = {0, 0, 0,0};
pos = 0;
Buffer = NULL;