Lines Matching refs:ipp_t
692 typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ typedef
701 typedef int (*ipp_copycb_t)(void *context, ipp_t *dst, ipp_attribute_t *attr);
805 ipp_t *collection; /* Collection value @since CUPS 1.1.19/macOS 10.3@ */
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,
878 extern void ippDelete(ipp_t *ipp);
880 extern ipp_attribute_t *ippFindAttribute(ipp_t *ipp, const char *name,
882 extern ipp_attribute_t *ippFindNextAttribute(ipp_t *ipp, const char *name,
884 extern size_t ippLength(ipp_t *ipp);
885 extern ipp_t *ippNew(void);
886 extern ipp_state_t ippRead(http_t *http, ipp_t *ipp);
888 extern ipp_state_t ippWrite(http_t *http, ipp_t *ipp);
893 extern ipp_attribute_t *ippAddCollection(ipp_t *ipp, ipp_tag_t group,
894 const char *name, ipp_t *value) _CUPS_API_1_1_19;
895 extern ipp_attribute_t *ippAddCollections(ipp_t *ipp, ipp_tag_t group,
897 const ipp_t **values) _CUPS_API_1_1_19;
898 extern void ippDeleteAttribute(ipp_t *ipp, ipp_attribute_t *attr) _CUPS_API_1_1_19;
899 extern ipp_state_t ippReadFile(int fd, ipp_t *ipp) _CUPS_API_1_1_19;
900 extern ipp_state_t ippWriteFile(int fd, ipp_t *ipp) _CUPS_API_1_1_19;
903 extern ipp_attribute_t *ippAddOctetString(ipp_t *ipp, ipp_tag_t group,
907 extern ipp_t *ippNewRequest(ipp_op_t op) _CUPS_API_1_2;
911 ipp_t *parent, ipp_t *ipp) _CUPS_API_1_2;
913 ipp_t *parent, ipp_t *ipp) _CUPS_API_1_2;
920 extern ipp_attribute_t *ippAddOutOfBand(ipp_t *ipp, ipp_tag_t group,
925 extern ipp_attribute_t *ippCopyAttribute(ipp_t *dst, ipp_attribute_t *attr,
927 extern int ippCopyAttributes(ipp_t *dst, ipp_t *src,
930 extern int ippDeleteValues(ipp_t *ipp, ipp_attribute_t **attr,
936 extern ipp_attribute_t *ippFirstAttribute(ipp_t *ipp) _CUPS_API_1_6;
939 extern ipp_t *ippGetCollection(ipp_attribute_t *attr,
948 extern ipp_op_t ippGetOperation(ipp_t *ipp) _CUPS_API_1_6;
951 extern int ippGetRequestId(ipp_t *ipp) _CUPS_API_1_6;
955 extern ipp_state_t ippGetState(ipp_t *ipp) _CUPS_API_1_6;
956 extern ipp_status_t ippGetStatusCode(ipp_t *ipp) _CUPS_API_1_6;
960 extern int ippGetVersion(ipp_t *ipp, int *minor) _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,
965 int element, ipp_t *colvalue)
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,
976 extern int ippSetOperation(ipp_t *ipp, ipp_op_t op) _CUPS_API_1_6;
977 extern int ippSetRange(ipp_t *ipp, ipp_attribute_t **attr,
980 extern int ippSetRequestId(ipp_t *ipp, int request_id)
982 extern int ippSetResolution(ipp_t *ipp, ipp_attribute_t **attr,
986 extern int ippSetState(ipp_t *ipp, ipp_state_t state)
988 extern int ippSetStatusCode(ipp_t *ipp, ipp_status_t status)
990 extern int ippSetString(ipp_t *ipp, ipp_attribute_t **attr,
993 extern int ippSetValueTag(ipp_t *ipp, ipp_attribute_t **attr,
995 extern int ippSetVersion(ipp_t *ipp, int major, int minor)
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,
1012 extern cups_array_t *ippCreateRequestedArray(ipp_t *request) _CUPS_API_1_7;
1015 extern ipp_t *ippNewResponse(ipp_t *request) _CUPS_API_1_7;
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,
1027 extern int ippValidateAttributes(ipp_t *ipp) _CUPS_API_1_7;