]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Banner definitions for the CUPS scheduler. | |
3 | * | |
4 | * Copyright 2007-2010 by Apple Inc. | |
5 | * Copyright 1997-2006 by Easy Software Products. | |
6 | * | |
7 | * These coded instructions, statements, and computer programs are the | |
8 | * property of Apple Inc. and are protected by Federal copyright | |
9 | * law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
10 | * which should have been included with this file. If this file is | |
11 | * file is missing or damaged, see the license at "http://www.cups.org/". | |
12 | */ | |
13 | ||
14 | /* | |
15 | * Banner information structure... | |
16 | */ | |
17 | ||
18 | typedef struct /**** Banner file information ****/ | |
19 | { | |
20 | char *name; /* Name of banner */ | |
21 | mime_type_t *filetype; /* Filetype for banner */ | |
22 | } cupsd_banner_t; | |
23 | ||
24 | ||
25 | /* | |
26 | * Globals... | |
27 | */ | |
28 | ||
29 | VAR cups_array_t *Banners VALUE(NULL); | |
30 | /* Available banner files */ | |
31 | ||
32 | ||
33 | /* | |
34 | * Prototypes... | |
35 | */ | |
36 | ||
37 | extern cupsd_banner_t *cupsdFindBanner(const char *name); | |
38 | extern void cupsdLoadBanners(const char *d); |