| 2621 | */ |
| 2622 | |
| 2623 | ipp_attribute_t * /* O - Next attribute or @code NULL@ if none */ |
| 2624 | ippNextAttribute(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 | /* |
no outgoing calls