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

Function cgirequestObj_getValueByName

mapscript/php/mapscript_i.c:1512–1521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1510}
1511
1512char *cgirequestObj_getValueByName(cgiRequestObj *self, const char *name)
1513{
1514 int i;
1515 for (i=0; i<self->NumParams; i++) {
1516 if (strcasecmp(self->ParamNames[i], name) == 0) {
1517 return self->ParamValues[i];
1518 }
1519 }
1520 return NULL;
1521}
1522void cgirequestObj_destroy(cgiRequestObj *self)
1523{
1524 free(self);

Callers 1

owsrequest.cFile · 0.85

Calls 1

strcasecmpFunction · 0.85

Tested by

no test coverage detected