1081{
1082 int i;
1083
1084 if (pszValue == NULL)
1086
1087 switch (chType)
1088 {
1089 case 'N':
1090 case 'F':
1091
1092
1093
1094
1095
1096 if (pszValue[0] == '*')
1098
1099 for (i = 0; pszValue[i] != '\0'; i++)
1100 {
1101 if (pszValue[i] != ' ')
1103 }
1105
1106 case 'D':
1107
1108 if (pszValue[0] == '\0' ||
1109 strncmp(pszValue, "00000000", 8) == 0 || strncmp(pszValue, " ", 8) == 0)
1110 {
1111 return 1;
1112 }
1113 else
1114 {
1115 return 0;
1116 }
1117
1118
1119 case 'L':
1120
1121 if (pszValue[0] == '\0' || pszValue[0] == '?')
1122 {
1123 return 1;
1124 }
1125 else
1126 {
1127 return 0;
1128 }
1129
1130 default:
1131
1132 return strlen(pszValue) == 0;
1133 }
1134}