]>
Commit | Line | Data |
---|---|---|
a603edef MS |
1 | /* |
2 | * "$Id$" | |
3 | * | |
4 | * Private PPD definitions for the Common UNIX Printing System (CUPS). | |
5 | * | |
6 | * Copyright 2007-2008 by Apple Inc. | |
7 | * Copyright 1997-2007 by Easy Software Products, all rights reserved. | |
8 | * | |
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/". | |
14 | * | |
15 | * PostScript is a trademark of Adobe Systems, Inc. | |
16 | * | |
17 | * This code and any derivative of it may be used and distributed | |
18 | * freely under the terms of the GNU General Public License when | |
19 | * used with GNU Ghostscript or its derivatives. Use of the code | |
20 | * (or any derivative of it) with software other than GNU | |
21 | * GhostScript (or its derivatives) is governed by the CUPS license | |
22 | * agreement. | |
23 | * | |
24 | * This file is subject to the Apple OS-Developed Software exception. | |
25 | */ | |
26 | ||
27 | #ifndef _CUPS_PPD_PRIVATE_H_ | |
28 | # define _CUPS_PPD_PRIVATE_H_ | |
29 | ||
30 | /* | |
31 | * Include necessary headers... | |
32 | */ | |
33 | ||
5eb9da71 | 34 | # include "cups.h" |
a603edef MS |
35 | |
36 | ||
37 | /* | |
38 | * C++ magic... | |
39 | */ | |
40 | ||
41 | # ifdef __cplusplus | |
42 | extern "C" { | |
43 | # endif /* __cplusplus */ | |
44 | ||
45 | ||
46 | extern void _ppdFreeLanguages(cups_array_t *languages); | |
5eb9da71 MS |
47 | extern int _ppdGet1284Values(const char *device_id, |
48 | cups_option_t **values); | |
49 | extern cups_encoding_t _ppdGetEncoding(const char *name); | |
a603edef MS |
50 | extern cups_array_t *_ppdGetLanguages(ppd_file_t *ppd); |
51 | extern unsigned _ppdHashName(const char *name); | |
52 | extern ppd_attr_t *_ppdLocalizedAttr(ppd_file_t *ppd, const char *keyword, | |
53 | const char *spec, const char *ll_CC); | |
5eb9da71 MS |
54 | extern char *_ppdNormalizeMakeAndModel(const char *make_and_model, |
55 | char *buffer, | |
56 | size_t bufsize); | |
a603edef MS |
57 | |
58 | ||
59 | /* | |
60 | * C++ magic... | |
61 | */ | |
62 | ||
63 | # ifdef __cplusplus | |
64 | } | |
65 | # endif /* __cplusplus */ | |
66 | #endif /* !_CUPS_PPD_PRIVATE_H_ */ | |
67 | ||
68 | /* | |
69 | * End of "$Id$". | |
70 | */ |