]>
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 | * |
503b54c9 MS |
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/". | |
ef416fc2 | 12 | */ |
13 | ||
14 | /* | |
15 | * Banner information structure... | |
16 | */ | |
17 | ||
bd7854cb | 18 | typedef struct /**** Banner file information ****/ |
ef416fc2 | 19 | { |
bd7854cb | 20 | char *name; /* Name of banner */ |
ef416fc2 | 21 | mime_type_t *filetype; /* Filetype for banner */ |
22 | } cupsd_banner_t; | |
23 | ||
24 | ||
25 | /* | |
26 | * Globals... | |
27 | */ | |
28 | ||
fa73b229 | 29 | VAR cups_array_t *Banners VALUE(NULL); |
ef416fc2 | 30 | /* Available banner files */ |
31 | ||
32 | ||
33 | /* | |
34 | * Prototypes... | |
35 | */ | |
36 | ||
ef416fc2 | 37 | extern cupsd_banner_t *cupsdFindBanner(const char *name); |
38 | extern void cupsdLoadBanners(const char *d); |