]> git.ipfire.org Git - thirdparty/cups.git/blob - cups/backend.h
Remove svn:keywords since they cause svn_load_dirs.pl to complain about every file.
[thirdparty/cups.git] / cups / backend.h
1 /*
2 * "$Id: backend.h 177 2006-06-21 00:20:03Z jlovell $"
3 *
4 * Backend 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 * This file is subject to the Apple OS-Developed Software exception.
25 */
26
27 #ifndef _CUPS_BACKEND_H_
28 # define _CUPS_BACKEND_H_
29
30
31 /*
32 * Constants...
33 */
34
35 typedef enum cups_backend_e /**** Backend exit codes ****/
36 {
37 CUPS_BACKEND_OK = 0, /* Job completed successfully */
38 CUPS_BACKEND_FAILED = 1, /* Job failed, use error-policy */
39 CUPS_BACKEND_AUTH_REQUIRED = 2, /* Job failed, authentication required */
40 CUPS_BACKEND_HOLD = 3, /* Job failed, hold job */
41 CUPS_BACKEND_STOP = 4, /* Job failed, stop queue */
42 CUPS_BACKEND_CANCEL = 5 /* Job failed, cancel job */
43 } cups_backend_t;
44
45
46 /*
47 * Prototypes...
48 */
49
50 extern const char *cupsBackendDeviceURI(char **argv);
51
52
53 #endif /* !_CUPS_BACKEND_H_ */
54
55 /*
56 * End of "$Id: backend.h 177 2006-06-21 00:20:03Z jlovell $".
57 */