]>
Commit | Line | Data |
---|---|---|
02d91449 | 1 | /* |
efb2f309 | 2 | * "$Id: banners.h,v 1.4 2002/01/02 17:59:13 mike Exp $" |
02d91449 | 3 | * |
4 | * Banner definitions for the Common UNIX Printing System (CUPS). | |
5 | * | |
efb2f309 | 6 | * Copyright 1997-2002 by Easy Software Products. |
02d91449 | 7 | * |
8 | * These coded instructions, statements, and computer programs are the | |
9 | * property of Easy Software Products and are protected by Federal | |
10 | * copyright law. Distribution and use rights are outlined in the file | |
11 | * "LICENSE.txt" which should have been included with this file. If this | |
12 | * file is missing or damaged please contact Easy Software Products | |
13 | * at: | |
14 | * | |
15 | * Attn: CUPS Licensing Information | |
16 | * Easy Software Products | |
17 | * 44141 Airport View Drive, Suite 204 | |
18 | * Hollywood, Maryland 20636-3111 USA | |
19 | * | |
20 | * Voice: (301) 373-9603 | |
21 | * EMail: cups-info@cups.org | |
22 | * WWW: http://www.cups.org | |
23 | */ | |
24 | ||
25 | /* | |
26 | * Banner information structure... | |
27 | */ | |
28 | ||
29 | typedef struct | |
30 | { | |
31 | char name[256]; /* Name of banner */ | |
02d91449 | 32 | mime_type_t *filetype; /* Filetype for banner */ |
33 | } banner_t; | |
34 | ||
35 | ||
36 | /* | |
37 | * Globals... | |
38 | */ | |
39 | ||
40 | VAR int NumBanners VALUE(0); | |
41 | /* Number of banner files available */ | |
42 | VAR banner_t *Banners VALUE(NULL); | |
43 | /* Available banner files */ | |
44 | ||
45 | ||
46 | /* | |
47 | * Prototypes... | |
48 | */ | |
49 | ||
50 | extern void AddBanner(const char *name, const char *filename); | |
51 | extern banner_t *FindBanner(const char *name); | |
52 | extern void LoadBanners(const char *d); | |
53 | ||
54 | ||
55 | /* | |
efb2f309 | 56 | * End of "$Id: banners.h,v 1.4 2002/01/02 17:59:13 mike Exp $". |
02d91449 | 57 | */ |