MCPcopy Index your code
hub / github.com/MapServer/MapServer / msFirstKeyFromHashTable

Function msFirstKeyFromHashTable

maphash.c:212–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212const char *msFirstKeyFromHashTable( hashTableObj *table )
213{
214 int hash_index;
215
216 if (!table) {
217 msSetError(MS_HASHERR, "No hash table", "msFirstKeyFromHashTable");
218 return NULL;
219 }
220
221 for (hash_index = 0; hash_index < MS_HASHSIZE; hash_index++ ) {
222 if (table->items[hash_index] != NULL )
223 return table->items[hash_index]->key;
224 }
225
226 return NULL;
227}
228
229const char *msNextKeyFromHashTable( hashTableObj *table, const char *lastKey )
230{

Callers 7

msBuildURLFromWMSParamsFunction · 0.85
msPrepareWMSLayerRequestFunction · 0.85
msNextKeyFromHashTableFunction · 0.85
layerSubstituteStringFunction · 0.85
msApplyMapConfigOptionsFunction · 0.85

Calls 1

msSetErrorFunction · 0.85

Tested by

no test coverage detected