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

Function ippNextAttribute

cups/ipp.c:2623–2638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2621 */
2622
2623ipp_attribute_t * /* O - Next attribute or @code NULL@ if none */
2624ippNextAttribute(ipp_t *ipp) /* I - IPP message */
2625{
2626 /*
2627 * Range check input...
2628 */
2629
2630 if (!ipp || !ipp->current)
2631 return (NULL);
2632
2633 /*
2634 * Return the next attribute...
2635 */
2636
2637 return (ipp->current = ipp->current->next);
2638}
2639
2640
2641/*

Callers 15

do_testFunction · 0.85
print_attrFunction · 0.85
print_csvFunction · 0.85
print_ippserver_attrFunction · 0.85
print_json_attrFunction · 0.85
print_lineFunction · 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

Calls

no outgoing calls

Tested by 2

show_attributesFunction · 0.68
mainFunction · 0.68