| 256 | /************************************************************************/ |
| 257 | |
| 258 | const char *msWCSGetRequestParameter(cgiRequestObj *request, char *name) { |
| 259 | int i; |
| 260 | |
| 261 | if(!request || !name) /* nothing to do */ |
| 262 | return NULL; |
| 263 | |
| 264 | if(request->NumParams > 0) { |
| 265 | for(i=0; i<request->NumParams; i++) { |
| 266 | if(strcasecmp(request->ParamNames[i], name) == 0) |
| 267 | return request->ParamValues[i]; |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | return NULL; |
| 272 | } |
| 273 | |
| 274 | /************************************************************************/ |
| 275 | /* msWCSSetDefaultBandsRangeSetInfo() */ |
no test coverage detected