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

Function ippFirstAttribute

cups/ipp.c:2086–2101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2084 */
2085
2086ipp_attribute_t * /* O - First attribute or @code NULL@ if none */
2087ippFirstAttribute(ipp_t *ipp) /* I - IPP message */
2088{
2089 /*
2090 * Range check input...
2091 */
2092
2093 if (!ipp)
2094 return (NULL);
2095
2096 /*
2097 * Return the first attribute...
2098 */
2099
2100 return (ipp->current = ipp->attrs);
2101}
2102
2103
2104/*

Callers 15

do_testFunction · 0.85
print_attrFunction · 0.85
print_ippserver_attrFunction · 0.85
print_json_attrFunction · 0.85
with_distinct_valuesFunction · 0.85
debug_attributesFunction · 0.85
process_ippFunction · 0.85
process_jobFunction · 0.85
cupsdProcessIPPRequestFunction · 0.85
debug_attributesFunction · 0.85
mainFunction · 0.85
_ppdCreateFromIPP2Function · 0.85

Calls

no outgoing calls

Tested by 2

show_attributesFunction · 0.68
mainFunction · 0.68