]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/ipp-private.h
Fix source file header text duplication text duplication.
[thirdparty/cups.git] / cups / ipp-private.h
CommitLineData
fa73b229 1/*
7e86f2f6 2 * Private IPP definitions for CUPS.
fa73b229 3 *
7e86f2f6
MS
4 * Copyright 2007-2014 by Apple Inc.
5 * Copyright 1997-2006 by Easy Software Products.
fa73b229 6 *
7e86f2f6
MS
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
57b7b66b 11 * missing or damaged, see the license at "http://www.cups.org/".
fa73b229 12 *
7e86f2f6 13 * This file is subject to the Apple OS-Developed Software exception.
fa73b229 14 */
15
16#ifndef _CUPS_IPP_PRIVATE_H_
17# define _CUPS_IPP_PRIVATE_H_
18
19/*
20 * Include necessary headers...
21 */
22
71e16022 23# include <cups/ipp.h>
fa73b229 24
25
26/*
27 * C++ magic...
28 */
29
30# ifdef __cplusplus
31extern "C" {
32# endif /* __cplusplus */
33
34
1f6f3dbc
MS
35/*
36 * Constants...
37 */
38
39# define IPP_BUF_SIZE (IPP_MAX_LENGTH + 2)
40 /* Size of buffer */
41
42
8ca02f3c 43/*
44 * Structures...
45 */
46
47typedef struct /**** Attribute mapping data ****/
48{
5a738aea 49 int multivalue; /* Option has multiple values? */
8ca02f3c 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 */
dcb445bc
MS
53 ipp_tag_t alt_group_tag; /* Alternate group tag for this
54 * attribute */
a469f8a5 55 const ipp_op_t *operations; /* Allowed operations for this attr */
8ca02f3c 56} _ipp_option_t;
57
58
fa73b229 59/*
60 * Prototypes for private functions...
61 */
62
a469f8a5
MS
63#ifdef DEBUG
64extern const char *_ippCheckOptions(void);
65#endif /* DEBUG */
8ca02f3c 66extern _ipp_option_t *_ippFindOption(const char *name);
fa73b229 67
fa73b229 68/*
69 * C++ magic...
70 */
71
72# ifdef __cplusplus
73}
74# endif /* __cplusplus */
75#endif /* !_CUPS_IPP_H_ */