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

Function httpGetField

cups/http.c:973–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

971 */
972
973const char * /* O - Field value */
974httpGetField(http_t *http, /* I - HTTP connection */
975 http_field_t field) /* I - Field to get */
976{
977 if (!http || field <= HTTP_FIELD_UNKNOWN || field >= HTTP_FIELD_MAX)
978 return (NULL);
979 else if (http->fields[field])
980 return (http->fields[field]);
981 else
982 return ("");
983}
984
985
986/*

Callers 15

do_testFunction · 0.85
authenticate_requestFunction · 0.85
process_httpFunction · 0.85
auth.cFile · 0.85
cupsdReadClientFunction · 0.85
cupsdSendErrorFunction · 0.85
cupsdWriteClientFunction · 0.85
check_if_modifiedFunction · 0.85
pipe_commandFunction · 0.85
valid_hostFunction · 0.85
mainFunction · 0.85
cupsGetFdFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68