blob: 1bc3702aba84d319982f9083a8be378c8bc7316c [file] [log] [blame]
Haibo Huang4c283622019-12-13 16:47:52 -08001/*
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 * Licensed under Apache License v2.0. See the file "LICENSE" for more information.
8 */
9
10/*
11 * Banner information structure...
12 */
13
14typedef struct /**** Banner file information ****/
15{
16 char *name; /* Name of banner */
17 mime_type_t *filetype; /* Filetype for banner */
18} cupsd_banner_t;
19
20
21/*
22 * Globals...
23 */
24
25VAR cups_array_t *Banners VALUE(NULL);
26 /* Available banner files */
27
28
29/*
30 * Prototypes...
31 */
32
33extern cupsd_banner_t *cupsdFindBanner(const char *name);
34extern void cupsdLoadBanners(const char *d);