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