]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | /* |
f7faf1f5 | 2 | * "$Id: backend.h 5023 2006-01-29 14:39:44Z mike $" |
ef416fc2 | 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 */ | |
fa73b229 | 39 | CUPS_BACKEND_AUTH_REQUIRED = 2, /* Job failed, authentication required */ |
ef416fc2 | 40 | CUPS_BACKEND_HOLD = 3, /* Job failed, hold job */ |
41 | CUPS_BACKEND_STOP = 4, /* Job failed, stop queue */ | |
fa73b229 | 42 | CUPS_BACKEND_CANCEL = 5 /* Job failed, cancel job */ |
ef416fc2 | 43 | } cups_backend_t; |
44 | ||
45 | ||
a4d04587 | 46 | /* |
47 | * Prototypes... | |
48 | */ | |
49 | ||
50 | extern const char *cupsBackendDeviceURI(char **argv); | |
51 | ||
52 | ||
ef416fc2 | 53 | #endif /* !_CUPS_BACKEND_H_ */ |
54 | ||
55 | /* | |
f7faf1f5 | 56 | * End of "$Id: backend.h 5023 2006-01-29 14:39:44Z mike $". |
ef416fc2 | 57 | */ |