| 1510 | } |
| 1511 | |
| 1512 | char *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 | } |
| 1522 | void cgirequestObj_destroy(cgiRequestObj *self) |
| 1523 | { |
| 1524 | free(self); |
no test coverage detected