MCPcopy Create free account
hub / github.com/MapServer/MapServer / lookupVTFItem

Function lookupVTFItem

mappluginlayer.c:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73
74static VTFactoryItemObj *
75lookupVTFItem(VTFactoryObj *VTFactory,
76 const char *key)
77{
78 unsigned int i;
79 for (i=0; i < VTFactory->size && VTFactory->vtItems[i]; ++i) {
80 if (0 == strcasecmp(key, VTFactory->vtItems[i]->name)) {
81 return VTFactory->vtItems[i];
82 }
83 }
84 return NULL;
85}
86
87static int
88insertNewVTFItem(VTFactoryObj *pVTFactory,

Callers 1

Calls 1

strcasecmpFunction · 0.85

Tested by

no test coverage detected