]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/ipp-private.h
4 * Private IPP definitions for CUPS.
6 * Copyright 2007-2012 by Apple Inc.
7 * Copyright 1997-2006 by Easy Software Products.
9 * These coded instructions, statements, and computer programs are the
10 * property of Apple Inc. and are protected by Federal copyright
11 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 * which should have been included with this file. If this file is
13 * file is missing or damaged, see the license at "http://www.cups.org/".
15 * This file is subject to the Apple OS-Developed Software exception.
18 #ifndef _CUPS_IPP_PRIVATE_H_
19 # define _CUPS_IPP_PRIVATE_H_
22 * Include necessary headers...
25 # include <cups/ipp.h>
34 # endif /* __cplusplus */
41 # define IPP_BUF_SIZE (IPP_MAX_LENGTH + 2)
49 typedef struct /**** Attribute mapping data ****/
51 int multivalue
; /* Option has multiple values? */
52 const char *name
; /* Option/attribute name */
53 ipp_tag_t value_tag
; /* Value tag for this attribute */
54 ipp_tag_t group_tag
; /* Group tag for this attribute */
55 ipp_tag_t alt_group_tag
; /* Alternate group tag for this
57 const ipp_op_t
*operations
; /* Allowed operations for this attr */
62 * Prototypes for private functions...
66 extern const char *_ippCheckOptions(void);
68 extern _ipp_option_t
*_ippFindOption(const char *name
);
76 # endif /* __cplusplus */
77 #endif /* !_CUPS_IPP_H_ */