]>
Commit | Line | Data |
---|---|---|
fa73b229 | 1 | /* |
f7deaa1a | 2 | * "$Id: ipp-private.h 5749 2006-07-18 18:36:09Z mike $" |
fa73b229 | 3 | * |
4 | * Private IPP definitions for the Common UNIX Printing System (CUPS). | |
5 | * | |
6 | * Copyright 1997-2006 by Easy Software Products. | |
7 | * | |
8 | * These coded instructions, statements, and computer programs are the | |
9 | * property of Easy Software Products and are protected by Federal | |
10 | * copyright law. Distribution and use rights are outlined in the file | |
11 | * "LICENSE.txt" which should have been included with this file. If this | |
12 | * file is missing or damaged please contact Easy Software Products | |
13 | * at: | |
14 | * | |
15 | * Attn: CUPS Licensing Information | |
16 | * Easy Software Products | |
17 | * 44141 Airport View Drive, Suite 204 | |
18 | * Hollywood, Maryland 20636 USA | |
19 | * | |
20 | * Voice: (301) 373-9600 | |
21 | * EMail: cups-info@cups.org | |
22 | * WWW: http://www.cups.org | |
23 | * | |
24 | * This file is subject to the Apple OS-Developed Software exception. | |
25 | */ | |
26 | ||
27 | #ifndef _CUPS_IPP_PRIVATE_H_ | |
28 | # define _CUPS_IPP_PRIVATE_H_ | |
29 | ||
30 | /* | |
31 | * Include necessary headers... | |
32 | */ | |
33 | ||
34 | # include "ipp.h" | |
35 | ||
36 | ||
37 | /* | |
38 | * C++ magic... | |
39 | */ | |
40 | ||
41 | # ifdef __cplusplus | |
42 | extern "C" { | |
43 | # endif /* __cplusplus */ | |
44 | ||
45 | ||
8ca02f3c | 46 | /* |
47 | * Structures... | |
48 | */ | |
49 | ||
50 | typedef struct /**** Attribute mapping data ****/ | |
51 | { | |
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_option_t; | |
56 | ||
57 | ||
fa73b229 | 58 | /* |
59 | * Prototypes for private functions... | |
60 | */ | |
61 | ||
757d2cad | 62 | extern ipp_attribute_t *_ippAddAttr(ipp_t *, int); |
8ca02f3c | 63 | extern _ipp_option_t *_ippFindOption(const char *name); |
757d2cad | 64 | extern void _ippFreeAttr(ipp_attribute_t *); |
fa73b229 | 65 | |
66 | ||
67 | /* | |
68 | * C++ magic... | |
69 | */ | |
70 | ||
71 | # ifdef __cplusplus | |
72 | } | |
73 | # endif /* __cplusplus */ | |
74 | #endif /* !_CUPS_IPP_H_ */ | |
75 | ||
76 | /* | |
f7deaa1a | 77 | * End of "$Id: ipp-private.h 5749 2006-07-18 18:36:09Z mike $". |
fa73b229 | 78 | */ |