Lines Matching refs:ipp_t
733 typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ typedef
742 typedef int (*ipp_copycb_t)(void *context, ipp_t *dst, ipp_attribute_t *attr);
750 extern ipp_attribute_t *ippAddBoolean(ipp_t *ipp, ipp_tag_t group,
752 extern ipp_attribute_t *ippAddBooleans(ipp_t *ipp, ipp_tag_t group,
755 extern ipp_attribute_t *ippAddDate(ipp_t *ipp, ipp_tag_t group,
757 extern ipp_attribute_t *ippAddInteger(ipp_t *ipp, ipp_tag_t group,
760 extern ipp_attribute_t *ippAddIntegers(ipp_t *ipp, ipp_tag_t group,
763 extern ipp_attribute_t *ippAddRange(ipp_t *ipp, ipp_tag_t group,
765 extern ipp_attribute_t *ippAddRanges(ipp_t *ipp, ipp_tag_t group,
768 extern ipp_attribute_t *ippAddResolution(ipp_t *ipp, ipp_tag_t group,
771 extern ipp_attribute_t *ippAddResolutions(ipp_t *ipp, ipp_tag_t group,
775 extern ipp_attribute_t *ippAddSeparator(ipp_t *ipp) _CUPS_PUBLIC;
776 extern ipp_attribute_t *ippAddString(ipp_t *ipp, ipp_tag_t group,
779 extern ipp_attribute_t *ippAddStrings(ipp_t *ipp, ipp_tag_t group,
784 extern void ippDelete(ipp_t *ipp) _CUPS_PUBLIC;
786 extern ipp_attribute_t *ippFindAttribute(ipp_t *ipp, const char *name,
788 extern ipp_attribute_t *ippFindNextAttribute(ipp_t *ipp, const char *name,
790 extern size_t ippLength(ipp_t *ipp) _CUPS_PUBLIC;
791 extern ipp_t *ippNew(void) _CUPS_PUBLIC;
792 extern ipp_state_t ippRead(http_t *http, ipp_t *ipp) _CUPS_PUBLIC;
794 extern ipp_state_t ippWrite(http_t *http, ipp_t *ipp) _CUPS_PUBLIC;
799 extern ipp_attribute_t *ippAddCollection(ipp_t *ipp, ipp_tag_t group,
800 const char *name, ipp_t *value) _CUPS_API_1_1_19;
801 extern ipp_attribute_t *ippAddCollections(ipp_t *ipp, ipp_tag_t group,
803 const ipp_t **values) _CUPS_API_1_1_19;
804 extern void ippDeleteAttribute(ipp_t *ipp, ipp_attribute_t *attr) _CUPS_API_1_1_19;
805 extern ipp_state_t ippReadFile(int fd, ipp_t *ipp) _CUPS_API_1_1_19;
806 extern ipp_state_t ippWriteFile(int fd, ipp_t *ipp) _CUPS_API_1_1_19;
809 extern ipp_attribute_t *ippAddOctetString(ipp_t *ipp, ipp_tag_t group,
813 extern ipp_t *ippNewRequest(ipp_op_t op) _CUPS_API_1_2;
817 ipp_t *parent, ipp_t *ipp) _CUPS_API_1_2;
819 ipp_t *parent, ipp_t *ipp) _CUPS_API_1_2;
826 extern ipp_attribute_t *ippAddOutOfBand(ipp_t *ipp, ipp_tag_t group,
831 extern ipp_attribute_t *ippCopyAttribute(ipp_t *dst, ipp_attribute_t *attr,
833 extern int ippCopyAttributes(ipp_t *dst, ipp_t *src,
836 extern int ippDeleteValues(ipp_t *ipp, ipp_attribute_t **attr,
842 extern ipp_attribute_t *ippFirstAttribute(ipp_t *ipp) _CUPS_API_1_6;
845 extern ipp_t *ippGetCollection(ipp_attribute_t *attr,
854 extern ipp_op_t ippGetOperation(ipp_t *ipp) _CUPS_API_1_6;
857 extern int ippGetRequestId(ipp_t *ipp) _CUPS_API_1_6;
861 extern ipp_state_t ippGetState(ipp_t *ipp) _CUPS_API_1_6;
862 extern ipp_status_t ippGetStatusCode(ipp_t *ipp) _CUPS_API_1_6;
866 extern int ippGetVersion(ipp_t *ipp, int *minor) _CUPS_API_1_6;
867 extern ipp_attribute_t *ippNextAttribute(ipp_t *ipp) _CUPS_API_1_6;
868 extern int ippSetBoolean(ipp_t *ipp, ipp_attribute_t **attr,
870 extern int ippSetCollection(ipp_t *ipp, ipp_attribute_t **attr,
871 int element, ipp_t *colvalue)
873 extern int ippSetDate(ipp_t *ipp, ipp_attribute_t **attr,
876 extern int ippSetGroupTag(ipp_t *ipp, ipp_attribute_t **attr,
878 extern int ippSetInteger(ipp_t *ipp, ipp_attribute_t **attr,
880 extern int ippSetName(ipp_t *ipp, ipp_attribute_t **attr,
882 extern int ippSetOperation(ipp_t *ipp, ipp_op_t op) _CUPS_API_1_6;
883 extern int ippSetRange(ipp_t *ipp, ipp_attribute_t **attr,
886 extern int ippSetRequestId(ipp_t *ipp, int request_id)
888 extern int ippSetResolution(ipp_t *ipp, ipp_attribute_t **attr,
892 extern int ippSetState(ipp_t *ipp, ipp_state_t state)
894 extern int ippSetStatusCode(ipp_t *ipp, ipp_status_t status)
896 extern int ippSetString(ipp_t *ipp, ipp_attribute_t **attr,
899 extern int ippSetValueTag(ipp_t *ipp, ipp_attribute_t **attr,
901 extern int ippSetVersion(ipp_t *ipp, int major, int minor)
905 extern ipp_attribute_t *ippAddStringf(ipp_t *ipp, ipp_tag_t group,
909 extern ipp_attribute_t *ippAddStringfv(ipp_t *ipp, ipp_tag_t group,
918 extern cups_array_t *ippCreateRequestedArray(ipp_t *request) _CUPS_API_1_7;
921 extern ipp_t *ippNewResponse(ipp_t *request) _CUPS_API_1_7;
922 extern int ippSetOctetString(ipp_t *ipp, ipp_attribute_t **attr,
925 extern int ippSetStringf(ipp_t *ipp, ipp_attribute_t **attr,
928 extern int ippSetStringfv(ipp_t *ipp, ipp_attribute_t **attr,
933 extern int ippValidateAttributes(ipp_t *ipp) _CUPS_API_1_7;