MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cgiSetServerVersion

Function cgiSetServerVersion

cgi-bin/template.c:188–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 */
187
188void
189cgiSetServerVersion(void)
190{
191 cgiSetVariable("SERVER_NAME", getenv("SERVER_NAME"));
192 cgiSetVariable("REMOTE_USER", getenv("REMOTE_USER"));
193 cgiSetVariable("CUPS_VERSION", CUPS_SVERSION);
194
195#ifdef LC_TIME
196 setlocale(LC_TIME, "");
197#endif /* LC_TIME */
198}
199
200
201/*

Callers 3

cgiSetIPPObjectVarsFunction · 0.85
cgiSetIPPVarsFunction · 0.85
cgiStartHTMLFunction · 0.85

Calls 1

cgiSetVariableFunction · 0.85

Tested by

no test coverage detected