MCPcopy Create free account
hub / github.com/OpenPrinting/cups / ippCreateRequestedArray

Function ippCreateRequestedArray

cups/ipp-support.c:888–2080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886 */
887
888cups_array_t * /* O - CUPS array or @code NULL@ if all */
889ippCreateRequestedArray(ipp_t *request) /* I - IPP request */
890{
891 int i, j, /* Looping vars */
892 count, /* Number of values */
893 added; /* Was name added? */
894 ipp_op_t op; /* IPP operation code */
895 ipp_attribute_t *requested; /* requested-attributes attribute */
896 cups_array_t *ra; /* Requested attributes array */
897 const char *value; /* Current value */
898 /* The following lists come from the current IANA IPP registry of attributes */
899 static const char * const document_description[] =
900 { /* document-description group */
901 "compression",
902 "copies-actual",
903 "cover-back-actual",
904 "cover-front-actual",
905 "current-page-order",
906 "date-time-at-completed",
907 "date-time-at-creation",
908 "date-time-at-processing",
909 "detailed-status-messages",
910 "document-access-errors",
911 "document-charset",
912 "document-digital-signature",
913 "document-format",
914 "document-format-details",
915 "document-format-detected",
916 "document-format-version",
917 "document-format-version-detected",
918 "document-job-id",
919 "document-job-uri",
920 "document-message",
921 "document-metadata",
922 "document-name",
923 "document-natural-language",
924 "document-number",
925 "document-printer-uri",
926 "document-state",
927 "document-state-message",
928 "document-state-reasons",
929 "document-uri",
930 "document-uuid", /* IPP JPS3 */
931 "errors-count",
932 "finishings-actual",
933 "finishings-col-actual",
934 "force-front-side-actual",
935 "imposition-template-actual",
936 "impressions",
937 "impressions-col",
938 "impressions-completed",
939 "impressions-completed-col",
940 "impressions-completed-current-copy",
941 "insert-sheet-actual",
942 "k-octets",
943 "k-octets-processed",
944 "last-document",
945 "materials-col-actual", /* IPP 3D */

Callers 4

ipp_get_job_attributesFunction · 0.85
ipp_get_jobsFunction · 0.85
create_requested_arrayFunction · 0.85

Calls 6

ippGetOperationFunction · 0.85
ippFindAttributeFunction · 0.85
cupsArrayNewFunction · 0.85
cupsArrayAddFunction · 0.85
ippGetCountFunction · 0.85
ippGetStringFunction · 0.85

Tested by

no test coverage detected