]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | /* |
503b54c9 | 2 | * Banner definitions for the CUPS scheduler. |
ef416fc2 | 3 | * |
503b54c9 MS |
4 | * Copyright 2007-2010 by Apple Inc. |
5 | * Copyright 1997-2006 by Easy Software Products. | |
ef416fc2 | 6 | * |
e3101897 | 7 | * Licensed under Apache License v2.0. See the file "LICENSE" for more information. |
ef416fc2 | 8 | */ |
9 | ||
10 | /* | |
11 | * Banner information structure... | |
12 | */ | |
13 | ||
bd7854cb | 14 | typedef struct /**** Banner file information ****/ |
ef416fc2 | 15 | { |
bd7854cb | 16 | char *name; /* Name of banner */ |
ef416fc2 | 17 | mime_type_t *filetype; /* Filetype for banner */ |
18 | } cupsd_banner_t; | |
19 | ||
20 | ||
21 | /* | |
22 | * Globals... | |
23 | */ | |
24 | ||
fa73b229 | 25 | VAR cups_array_t *Banners VALUE(NULL); |
ef416fc2 | 26 | /* Available banner files */ |
27 | ||
28 | ||
29 | /* | |
30 | * Prototypes... | |
31 | */ | |
32 | ||
ef416fc2 | 33 | extern cupsd_banner_t *cupsdFindBanner(const char *name); |
34 | extern void cupsdLoadBanners(const char *d); |