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

Function ippGetStatusCode

cups/ipp.c:2494–2509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2492 */
2493
2494ipp_status_t /* O - Status code in IPP message */
2495ippGetStatusCode(ipp_t *ipp) /* I - IPP response or event message */
2496{
2497 /*
2498 * Range check input...
2499 */
2500
2501 if (!ipp)
2502 return (IPP_STATUS_ERROR_INTERNAL);
2503
2504 /*
2505 * Return the value...
2506 */
2507
2508 return (ipp->request.status.status_code);
2509}
2510
2511
2512/*

Callers 4

do_testFunction · 0.85
debug_attributesFunction · 0.85
respond_ignoredFunction · 0.85
show_attributesFunction · 0.85

Calls

no outgoing calls

Tested by 1

show_attributesFunction · 0.68