2 * "$Id: backend.h 177 2006-06-21 00:20:03Z jlovell $"
4 * Backend definitions for the Common UNIX Printing System (CUPS).
6 * Copyright 1997-2005 by Easy Software Products.
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
15 * Attn: CUPS Licensing Information
16 * Easy Software Products
17 * 44141 Airport View Drive, Suite 204
18 * Hollywood, Maryland 20636 USA
20 * Voice: (301) 373-9600
21 * EMail: cups-info@cups.org
22 * WWW: http://www.cups.org
24 * This file is subject to the Apple OS-Developed Software exception.
27 #ifndef _CUPS_BACKEND_H_
28 # define _CUPS_BACKEND_H_
35 typedef enum cups_backend_e
/**** Backend exit codes ****/
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 */
50 extern const char *cupsBackendDeviceURI(char **argv
);
53 #endif /* !_CUPS_BACKEND_H_ */
56 * End of "$Id: backend.h 177 2006-06-21 00:20:03Z jlovell $".