]> git.ipfire.org Git - thirdparty/cups.git/blame - scheduler/util.h
Load cups into easysw/current.
[thirdparty/cups.git] / scheduler / util.h
CommitLineData
ef416fc2 1/*
2 * "$Id: util.h 4598 2005-08-25 21:36:26Z mike $"
3 *
4 * Mini-daemon utility definitions for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2005 by Easy Software Products.
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 USA
19 *
20 * Voice: (301) 373-9600
21 * EMail: cups-info@cups.org
22 * WWW: http://www.cups.org
23 */
24
25#ifndef _CUPSD_UTIL_H_
26# define _CUPSD_UTIL_H_
27
28/*
29 * Include necessary headers...
30 */
31
32# include <cups/cups.h>
33# include <cups/file.h>
34# include <cups/string.h>
35# include <stdlib.h>
36# include <errno.h>
37# include <signal.h>
38# include <dirent.h>
39
40
41/*
42 * Prototypes...
43 */
44
45extern int cupsdCompareNames(const char *s, const char *t);
46extern void cupsdSendIPPGroup(ipp_tag_t group_tag);
47extern void cupsdSendIPPHeader(ipp_status_t status_code, int request_id);
48extern void cupsdSendIPPInteger(ipp_tag_t value_tag, const char *name,
49 int value);
50extern void cupsdSendIPPString(ipp_tag_t value_tag, const char *name,
51 const char *value);
52extern void cupsdSendIPPTrailer(void);
53
54
55#endif /* !_CUPSD_UTIL_H_ */
56
57/*
58 * End of "$Id: util.h 4598 2005-08-25 21:36:26Z mike $".
59 */