]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | /* |
bc44d920 | 2 | * "$Id: util.h 6649 2007-07-11 21:46:42Z mike $" |
ef416fc2 | 3 | * |
4 | * Mini-daemon utility definitions for the Common UNIX Printing System (CUPS). | |
5 | * | |
bc44d920 | 6 | * Copyright 2007 by Apple Inc. |
ef416fc2 | 7 | * Copyright 1997-2005 by Easy Software Products. |
8 | * | |
9 | * These coded instructions, statements, and computer programs are the | |
bc44d920 | 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/". | |
ef416fc2 | 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 | /* | |
bc44d920 | 49 | * End of "$Id: util.h 6649 2007-07-11 21:46:42Z mike $". |
ef416fc2 | 50 | */ |