]> git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/banners.h
Load cups into easysw/current.
[thirdparty/cups.git] / scheduler / banners.h
1 /*
2 * "$Id: banners.h 4719 2005-09-28 21:12:44Z mike $"
3 *
4 * Banner definitions for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2005 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
25 /*
26 * Banner information structure...
27 */
28
29 typedef struct
30 {
31 char name[256]; /* Name of banner */
32 mime_type_t *filetype; /* Filetype for banner */
33 } cupsd_banner_t;
34
35
36 /*
37 * Globals...
38 */
39
40 VAR int NumBanners VALUE(0);
41 /* Number of banner files available */
42 VAR cupsd_banner_t *Banners VALUE(NULL);
43 /* Available banner files */
44
45
46 /*
47 * Prototypes...
48 */
49
50 extern void cupsdAddBanner(const char *name, const char *filename);
51 extern cupsd_banner_t *cupsdFindBanner(const char *name);
52 extern void cupsdLoadBanners(const char *d);
53
54
55 /*
56 * End of "$Id: banners.h 4719 2005-09-28 21:12:44Z mike $".
57 */