Blame scheduler/banners.h

Packit 2fc92b
/*
Packit 2fc92b
 * Banner definitions for the CUPS scheduler.
Packit 2fc92b
 *
Packit 2fc92b
 * Copyright 2007-2010 by Apple Inc.
Packit 2fc92b
 * Copyright 1997-2006 by Easy Software Products.
Packit 2fc92b
 *
Packit 2fc92b
 * These coded instructions, statements, and computer programs are the
Packit 2fc92b
 * property of Apple Inc. and are protected by Federal copyright
Packit 2fc92b
 * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
Packit 2fc92b
 * which should have been included with this file.  If this file is
Packit 2fc92b
 * missing or damaged, see the license at "http://www.cups.org/".
Packit 2fc92b
 */
Packit 2fc92b
Packit 2fc92b
/*
Packit 2fc92b
 * Banner information structure...
Packit 2fc92b
 */
Packit 2fc92b
Packit 2fc92b
typedef struct				/**** Banner file information ****/
Packit 2fc92b
{
Packit 2fc92b
  char		*name;			/* Name of banner */
Packit 2fc92b
  mime_type_t	*filetype;		/* Filetype for banner */
Packit 2fc92b
} cupsd_banner_t;
Packit 2fc92b
Packit 2fc92b
Packit 2fc92b
/*
Packit 2fc92b
 * Globals...
Packit 2fc92b
 */
Packit 2fc92b
Packit 2fc92b
VAR cups_array_t	*Banners	VALUE(NULL);
Packit 2fc92b
					/* Available banner files */
Packit 2fc92b
Packit 2fc92b
Packit 2fc92b
/*
Packit 2fc92b
 * Prototypes...
Packit 2fc92b
 */
Packit 2fc92b
Packit 2fc92b
extern cupsd_banner_t	*cupsdFindBanner(const char *name);
Packit 2fc92b
extern void		cupsdLoadBanners(const char *d);