]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/ipp-private.h
Merge changes from CUPS 1.4svn-r7670.
[thirdparty/cups.git] / cups / ipp-private.h
CommitLineData
fa73b229 1/*
bc44d920 2 * "$Id: ipp-private.h 6649 2007-07-11 21:46:42Z mike $"
fa73b229 3 *
4 * Private IPP definitions for the Common UNIX Printing System (CUPS).
5 *
5a738aea 6 * Copyright 2007-2008 by Apple Inc.
fa73b229 7 * Copyright 1997-2006 by Easy Software Products.
8 *
9 * These coded instructions, statements, and computer programs are the
bc44d920 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/".
fa73b229 14 *
15 * This file is subject to the Apple OS-Developed Software exception.
16 */
17
18#ifndef _CUPS_IPP_PRIVATE_H_
19# define _CUPS_IPP_PRIVATE_H_
20
21/*
22 * Include necessary headers...
23 */
24
25# include "ipp.h"
26
27
28/*
29 * C++ magic...
30 */
31
32# ifdef __cplusplus
33extern "C" {
34# endif /* __cplusplus */
35
36
8ca02f3c 37/*
38 * Structures...
39 */
40
41typedef struct /**** Attribute mapping data ****/
42{
5a738aea 43 int multivalue; /* Option has multiple values? */
8ca02f3c 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_option_t;
48
49
fa73b229 50/*
51 * Prototypes for private functions...
52 */
53
757d2cad 54extern ipp_attribute_t *_ippAddAttr(ipp_t *, int);
8ca02f3c 55extern _ipp_option_t *_ippFindOption(const char *name);
757d2cad 56extern void _ippFreeAttr(ipp_attribute_t *);
fa73b229 57
58
59/*
60 * C++ magic...
61 */
62
63# ifdef __cplusplus
64}
65# endif /* __cplusplus */
66#endif /* !_CUPS_IPP_H_ */
67
68/*
bc44d920 69 * End of "$Id: ipp-private.h 6649 2007-07-11 21:46:42Z mike $".
fa73b229 70 */