1646{
1647 char name[12], name1[12], name2[12];
1648 int i;
1649
1650 snprintf(name1, 11, "%s", pszFieldName);
1651 name1[11] = '\0';
1653
1655 {
1657 snprintf(name2, 12, "%s", name);
1659
1660 if (!strncmp(name1, name2, 10))
1661 return i;
1662 }
1663 return -1;
1664}
int SHPAPI_CALL DBFGetFieldCount(DBFHandle psDBF)
static void str_to_upper(char *string)
DBFFieldType SHPAPI_CALL DBFGetFieldInfo(DBFHandle psDBF, int iField, char *pszFieldName, int *pnWidth, int *pnDecimals)