]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/backend.h
Load cups into easysw/current.
[thirdparty/cups.git] / cups / backend.h
CommitLineData
ef416fc2 1/*
bc44d920 2 * "$Id: backend.h 6649 2007-07-11 21:46:42Z mike $"
ef416fc2 3 *
4 * Backend 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 * This file is subject to the Apple OS-Developed Software exception.
16 */
17
18#ifndef _CUPS_BACKEND_H_
19# define _CUPS_BACKEND_H_
20
21
22/*
23 * Constants...
24 */
25
26typedef enum cups_backend_e /**** Backend exit codes ****/
27{
28 CUPS_BACKEND_OK = 0, /* Job completed successfully */
29 CUPS_BACKEND_FAILED = 1, /* Job failed, use error-policy */
fa73b229 30 CUPS_BACKEND_AUTH_REQUIRED = 2, /* Job failed, authentication required */
ef416fc2 31 CUPS_BACKEND_HOLD = 3, /* Job failed, hold job */
32 CUPS_BACKEND_STOP = 4, /* Job failed, stop queue */
fa73b229 33 CUPS_BACKEND_CANCEL = 5 /* Job failed, cancel job */
ef416fc2 34} cups_backend_t;
35
36
a4d04587 37/*
38 * Prototypes...
39 */
40
41extern const char *cupsBackendDeviceURI(char **argv);
42
43
ef416fc2 44#endif /* !_CUPS_BACKEND_H_ */
45
46/*
bc44d920 47 * End of "$Id: backend.h 6649 2007-07-11 21:46:42Z mike $".
ef416fc2 48 */