Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
srohatgi01
GitHub Repository: srohatgi01/cups
Path: blob/master/scheduler/banners.h
1090 views
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
* Licensed under Apache License v2.0. See the file "LICENSE" for more information.
8
*/
9
10
/*
11
* Banner information structure...
12
*/
13
14
typedef 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
25
VAR cups_array_t *Banners VALUE(NULL);
26
/* Available banner files */
27
28
29
/*
30
* Prototypes...
31
*/
32
33
extern cupsd_banner_t *cupsdFindBanner(const char *name);
34
extern void cupsdLoadBanners(const char *d);
35
36