| 2084 | */ |
| 2085 | |
| 2086 | ipp_attribute_t * /* O - First attribute or @code NULL@ if none */ |
| 2087 | ippFirstAttribute(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 | /* |
no outgoing calls