| 886 | */ |
| 887 | |
| 888 | cups_array_t * /* O - CUPS array or @code NULL@ if all */ |
| 889 | ippCreateRequestedArray(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 */ |
no test coverage detected