]> git.ipfire.org Git - thirdparty/cups.git/blob - backend/backend-private.h
Load cups into easysw/current.
[thirdparty/cups.git] / backend / backend-private.h
1 /*
2 * "$Id: backend-private.h 5592 2006-05-27 03:11:52Z mike $"
3 *
4 * Backend support definitions for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2006 by Easy Software Products, all rights reserved.
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" 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_PRIVATE_H_
28 # define _CUPS_BACKEND_PRIVATE_H_
29
30
31 /*
32 * Include necessary headers.
33 */
34
35 # include <cups/backend.h>
36 # include <cups/cups.h>
37 # include <cups/debug.h>
38 # include <stdlib.h>
39 # include <errno.h>
40 # include <cups/string.h>
41 # include <signal.h>
42
43
44 /*
45 * C++ magic...
46 */
47
48 # ifdef _cplusplus
49 extern "C" {
50 # endif /* _cplusplus */
51
52
53 /*
54 * Prototypes...
55 */
56
57 extern int backendGetDeviceID(int fd, char *device_id, int device_id_size,
58 char *make_model, int make_model_size,
59 const char *scheme, char *uri, int uri_size);
60 extern int backendGetMakeModel(const char *device_id, char *make_model,
61 int make_model_size);
62 extern ssize_t backendRunLoop(int print_fd, int device_fd, int use_bc);
63
64
65 # ifdef _cplusplus
66 }
67 # endif /* _cplusplus */
68 #endif /* !_CUPS_BACKEND_PRIVATE_H_ */
69
70
71 /*
72 * End of "$Id: backend-private.h 5592 2006-05-27 03:11:52Z mike $".
73 */