]>
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 * These coded instructions, statements, and computer programs are the
8 * property of Apple Inc. and are protected by Federal copyright
9 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 * which should have been included with this file. If this file is
11 * missing or damaged, see the license at "http://www.cups.org/".
13 * This file is subject to the Apple OS-Developed Software exception.
16 #ifndef _CUPS_IPP_PRIVATE_H_
17 # define _CUPS_IPP_PRIVATE_H_
20 * Include necessary headers...
23 # include <cups/ipp.h>
32 # endif /* __cplusplus */
39 # define IPP_BUF_SIZE (IPP_MAX_LENGTH + 2)
47 typedef struct /**** Attribute mapping data ****/
49 int multivalue
; /* Option has multiple values? */
50 const char *name
; /* Option/attribute name */
51 ipp_tag_t value_tag
; /* Value tag for this attribute */
52 ipp_tag_t group_tag
; /* Group tag for this attribute */
53 ipp_tag_t alt_group_tag
; /* Alternate group tag for this
55 const ipp_op_t
*operations
; /* Allowed operations for this attr */
60 * Prototypes for private functions...
64 extern const char *_ippCheckOptions(void);
66 extern _ipp_option_t
*_ippFindOption(const char *name
);
74 # endif /* __cplusplus */
75 #endif /* !_CUPS_IPP_H_ */