]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | /* |
f2d18633 | 2 | * "$Id$" |
ef416fc2 | 3 | * |
10d09e33 | 4 | * Banner definitions for the CUPS scheduler. |
ef416fc2 | 5 | * |
10d09e33 | 6 | * Copyright 2007-2010 by Apple Inc. |
fa73b229 | 7 | * Copyright 1997-2006 by Easy Software Products. |
ef416fc2 | 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/". | |
ef416fc2 | 14 | */ |
15 | ||
16 | /* | |
17 | * Banner information structure... | |
18 | */ | |
19 | ||
bd7854cb | 20 | typedef struct /**** Banner file information ****/ |
ef416fc2 | 21 | { |
bd7854cb | 22 | char *name; /* Name of banner */ |
ef416fc2 | 23 | mime_type_t *filetype; /* Filetype for banner */ |
24 | } cupsd_banner_t; | |
25 | ||
26 | ||
27 | /* | |
28 | * Globals... | |
29 | */ | |
30 | ||
fa73b229 | 31 | VAR cups_array_t *Banners VALUE(NULL); |
ef416fc2 | 32 | /* Available banner files */ |
33 | ||
34 | ||
35 | /* | |
36 | * Prototypes... | |
37 | */ | |
38 | ||
ef416fc2 | 39 | extern cupsd_banner_t *cupsdFindBanner(const char *name); |
40 | extern void cupsdLoadBanners(const char *d); | |
41 | ||
42 | ||
43 | /* | |
f2d18633 | 44 | * End of "$Id$". |
ef416fc2 | 45 | */ |