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

Function cupsUserAgent

cups/usersys.c:712–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710 */
711
712const char * /* O - User-Agent string */
713cupsUserAgent(void)
714{
715 _cups_globals_t *cg = _cupsGlobals(); /* Thread globals */
716
717
718 if (!cg->user_agent[0])
719 cupsSetUserAgent(NULL);
720
721 return (cg->user_agent);
722}
723
724
725/*

Callers 1

http_sendFunction · 0.85

Calls 2

_cupsGlobalsFunction · 0.85
cupsSetUserAgentFunction · 0.85

Tested by

no test coverage detected