Lines Matching defs:ipp_attribute_t
693 typedef struct _ipp_attribute_s ipp_attribute_t;
701 typedef int (*ipp_copycb_t)(void *context, ipp_t *dst, ipp_attribute_t *attr);
811 ipp_attribute_t *next; /* Next attribute in list */
823 ipp_attribute_t *attrs; /* Attributes */
824 ipp_attribute_t *last; /* Last attribute in list */
825 ipp_attribute_t *current; /* Current attribute (for read/write) */
829 ipp_attribute_t *prev; /* Previous attribute (for read) @since CUPS 1.2/macOS 10.5@ */
844 extern ipp_attribute_t *ippAddBoolean(ipp_t *ipp, ipp_tag_t group,
846 extern ipp_attribute_t *ippAddBooleans(ipp_t *ipp, ipp_tag_t group,
849 extern ipp_attribute_t *ippAddDate(ipp_t *ipp, ipp_tag_t group,
851 extern ipp_attribute_t *ippAddInteger(ipp_t *ipp, ipp_tag_t group,
854 extern ipp_attribute_t *ippAddIntegers(ipp_t *ipp, ipp_tag_t group,
857 extern ipp_attribute_t *ippAddRange(ipp_t *ipp, ipp_tag_t group,
859 extern ipp_attribute_t *ippAddRanges(ipp_t *ipp, ipp_tag_t group,
862 extern ipp_attribute_t *ippAddResolution(ipp_t *ipp, ipp_tag_t group,
865 extern ipp_attribute_t *ippAddResolutions(ipp_t *ipp, ipp_tag_t group,
869 extern ipp_attribute_t *ippAddSeparator(ipp_t *ipp);
870 extern ipp_attribute_t *ippAddString(ipp_t *ipp, ipp_tag_t group,
873 extern ipp_attribute_t *ippAddStrings(ipp_t *ipp, ipp_tag_t group,
880 extern ipp_attribute_t *ippFindAttribute(ipp_t *ipp, const char *name,
882 extern ipp_attribute_t *ippFindNextAttribute(ipp_t *ipp, const char *name,
893 extern ipp_attribute_t *ippAddCollection(ipp_t *ipp, ipp_tag_t group,
895 extern ipp_attribute_t *ippAddCollections(ipp_t *ipp, ipp_tag_t group,
898 extern void ippDeleteAttribute(ipp_t *ipp, ipp_attribute_t *attr) _CUPS_API_1_1_19;
903 extern ipp_attribute_t *ippAddOctetString(ipp_t *ipp, ipp_tag_t group,
920 extern ipp_attribute_t *ippAddOutOfBand(ipp_t *ipp, ipp_tag_t group,
923 extern size_t ippAttributeString(ipp_attribute_t *attr, char *buffer,
925 extern ipp_attribute_t *ippCopyAttribute(ipp_t *dst, ipp_attribute_t *attr,
930 extern int ippDeleteValues(ipp_t *ipp, ipp_attribute_t **attr,
936 extern ipp_attribute_t *ippFirstAttribute(ipp_t *ipp) _CUPS_API_1_6;
937 extern int ippGetBoolean(ipp_attribute_t *attr, int element)
939 extern ipp_t *ippGetCollection(ipp_attribute_t *attr,
941 extern int ippGetCount(ipp_attribute_t *attr) _CUPS_API_1_6;
942 extern const ipp_uchar_t *ippGetDate(ipp_attribute_t *attr, int element)
944 extern ipp_tag_t ippGetGroupTag(ipp_attribute_t *attr) _CUPS_API_1_6;
945 extern int ippGetInteger(ipp_attribute_t *attr, int element)
947 extern const char *ippGetName(ipp_attribute_t *attr) _CUPS_API_1_6;
949 extern int ippGetRange(ipp_attribute_t *attr, int element,
952 extern int ippGetResolution(ipp_attribute_t *attr, int element,
957 extern const char *ippGetString(ipp_attribute_t *attr, int element,
959 extern ipp_tag_t ippGetValueTag(ipp_attribute_t *attr) _CUPS_API_1_6;
961 extern ipp_attribute_t *ippNextAttribute(ipp_t *ipp) _CUPS_API_1_6;
962 extern int ippSetBoolean(ipp_t *ipp, ipp_attribute_t **attr,
964 extern int ippSetCollection(ipp_t *ipp, ipp_attribute_t **attr,
967 extern int ippSetDate(ipp_t *ipp, ipp_attribute_t **attr,
970 extern int ippSetGroupTag(ipp_t *ipp, ipp_attribute_t **attr,
972 extern int ippSetInteger(ipp_t *ipp, ipp_attribute_t **attr,
974 extern int ippSetName(ipp_t *ipp, ipp_attribute_t **attr,
977 extern int ippSetRange(ipp_t *ipp, ipp_attribute_t **attr,
982 extern int ippSetResolution(ipp_t *ipp, ipp_attribute_t **attr,
990 extern int ippSetString(ipp_t *ipp, ipp_attribute_t **attr,
993 extern int ippSetValueTag(ipp_t *ipp, ipp_attribute_t **attr,
999 extern ipp_attribute_t *ippAddStringf(ipp_t *ipp, ipp_tag_t group,
1003 extern ipp_attribute_t *ippAddStringfv(ipp_t *ipp, ipp_tag_t group,
1008 extern int ippContainsInteger(ipp_attribute_t *attr, int value)
1010 extern int ippContainsString(ipp_attribute_t *attr,
1013 extern void *ippGetOctetString(ipp_attribute_t *attr, int element,
1016 extern int ippSetOctetString(ipp_t *ipp, ipp_attribute_t **attr,
1019 extern int ippSetStringf(ipp_t *ipp, ipp_attribute_t **attr,
1022 extern int ippSetStringfv(ipp_t *ipp, ipp_attribute_t **attr,
1025 extern int ippValidateAttribute(ipp_attribute_t *attr)