]> git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/util.h
bcc5e574aab423dceb77a73dfacde515dd108d11
[thirdparty/cups.git] / scheduler / util.h
1 /*
2 * "$Id: util.h 6649 2007-07-11 21:46:42Z mike $"
3 *
4 * Mini-daemon utility definitions for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 2007 by Apple Inc.
7 * Copyright 1997-2005 by Easy Software Products.
8 *
9 * These coded instructions, statements, and computer programs are the
10 * property of Apple Inc. and are protected by Federal copyright
11 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 * which should have been included with this file. If this file is
13 * file is missing or damaged, see the license at "http://www.cups.org/".
14 */
15
16 #ifndef _CUPSD_UTIL_H_
17 # define _CUPSD_UTIL_H_
18
19 /*
20 * Include necessary headers...
21 */
22
23 # include <cups/cups.h>
24 # include <cups/file.h>
25 # include <cups/string.h>
26 # include <stdlib.h>
27 # include <errno.h>
28 # include <signal.h>
29 # include <dirent.h>
30
31
32 /*
33 * Prototypes...
34 */
35
36 extern int cupsdCompareNames(const char *s, const char *t);
37 extern void cupsdSendIPPGroup(ipp_tag_t group_tag);
38 extern void cupsdSendIPPHeader(ipp_status_t status_code, int request_id);
39 extern void cupsdSendIPPInteger(ipp_tag_t value_tag, const char *name,
40 int value);
41 extern void cupsdSendIPPString(ipp_tag_t value_tag, const char *name,
42 const char *value);
43 extern void cupsdSendIPPTrailer(void);
44
45
46 #endif /* !_CUPSD_UTIL_H_ */
47
48 /*
49 * End of "$Id: util.h 6649 2007-07-11 21:46:42Z mike $".
50 */