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

Function httpStatus

cups/http-support.c:1591–1601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1589 */
1590
1591const char * /* O - Localized status string */
1592httpStatus(http_status_t status) /* I - HTTP status code */
1593{
1594 _cups_globals_t *cg = _cupsGlobals(); /* Global data */
1595
1596
1597 if (!cg->lang_default)
1598 cg->lang_default = cupsLangDefault();
1599
1600 return (_httpStatus(cg->lang_default, status));
1601}
1602
1603/*
1604 * 'httpURIStatusString()' - Return a string describing a URI status code.

Callers 10

finish_document_uriFunction · 0.85
respond_httpFunction · 0.85
send_http_errorFunction · 0.85
mainFunction · 0.85
do_am_printerFunction · 0.85
do_config_serverFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
_cupsSetHTTPErrorFunction · 0.85

Calls 3

_cupsGlobalsFunction · 0.85
cupsLangDefaultFunction · 0.85
_httpStatusFunction · 0.85

Tested by

no test coverage detected