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

Function msGetOutputFormatOption

mapoutput.c:773–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771/************************************************************************/
772
773const char *msGetOutputFormatOption( outputFormatObj *format,
774 const char *optionkey,
775 const char *defaultresult )
776
777{
778 int i, len = strlen(optionkey);
779
780 for( i = 0; i < format->numformatoptions; i++ )
781 {
782 if( strncasecmp(format->formatoptions[i],optionkey,len) == 0
783 && format->formatoptions[i][len] == '=' )
784 return format->formatoptions[i] + len + 1;
785 }
786
787 return defaultresult;
788}
789
790/************************************************************************/
791/* msSetOutputFormatOption() */

Callers 15

msSaveImageGDALFunction · 0.85
msApplyOutputFormatFunction · 0.85
msOutputFormatValidateFunction · 0.85
mainFunction · 0.85
msWCSGetCoverageFunction · 0.85
msWCSWriteFile20Function · 0.85
msWCSGetCoverage20Function · 0.85
msReturnTemplateQueryFunction · 0.85
msImageCreateFunction · 0.85
msOGRWriteFromQueryFunction · 0.85
msImageCreateIMFunction · 0.85

Calls 1

strncasecmpFunction · 0.85

Tested by

no test coverage detected