]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/ipp-private.h
2 * Private IPP definitions for CUPS.
4 * Copyright 2007-2014 by Apple Inc.
5 * Copyright 1997-2006 by Easy Software Products.
7 * Licensed under Apache License v2.0. See the file "LICENSE" for more information.
10 #ifndef _CUPS_IPP_PRIVATE_H_
11 # define _CUPS_IPP_PRIVATE_H_
14 * Include necessary headers...
17 # include <cups/ipp.h>
26 # endif /* __cplusplus */
33 # define IPP_BUF_SIZE (IPP_MAX_LENGTH + 2)
41 typedef struct /**** Attribute mapping data ****/
43 int multivalue
; /* Option has multiple values? */
44 const char *name
; /* Option/attribute name */
45 ipp_tag_t value_tag
; /* Value tag for this attribute */
46 ipp_tag_t group_tag
; /* Group tag for this attribute */
47 ipp_tag_t alt_group_tag
; /* Alternate group tag for this
49 const ipp_op_t
*operations
; /* Allowed operations for this attr */
54 * Prototypes for private functions...
58 extern const char *_ippCheckOptions(void);
60 extern _ipp_option_t
*_ippFindOption(const char *name
);
68 # endif /* __cplusplus */
69 #endif /* !_CUPS_IPP_H_ */