PostGIS  2.3.7dev-r@@SVN_REVISION@@
const char* colmap_dbf_by_pg ( colmap map,
const char *  pgname 
)

Definition at line 183 of file shpcommon.c.

References colmap_t::dbffieldnames, colmap_t::pgfieldnames, and colmap_t::size.

Referenced by ShpDumperOpenTable().

184 {
185  int i;
186  for (i=0; i<map->size; ++i)
187  {
188  if (!strcasecmp(map->pgfieldnames[i], pgname))
189  {
190  return map->dbffieldnames[i];
191  }
192  }
193  return NULL;
194 }
int size
Definition: shpcommon.h:61
char ** pgfieldnames
Definition: shpcommon.h:55
char ** dbffieldnames
Definition: shpcommon.h:58

Here is the caller graph for this function: