]> 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 6170 2007-01-02 17:26:41Z mike $"
3 *
4 * Backend support definitions for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2007 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/sidechannel.h>
37 # include <cups/cups.h>
38 # include <cups/debug.h>
39 # include <stdlib.h>
40 # include <errno.h>
41 # include <cups/string.h>
42 # include <signal.h>
43
44
45 /*
46 * C++ magic...
47 */
48
49 # ifdef __cplusplus
50 extern "C" {
51 # endif /* __cplusplus */
52
53
54 /*
55 * Prototypes...
56 */
57
58 extern int backendGetDeviceID(int fd, char *device_id, int device_id_size,
59 char *make_model, int make_model_size,
60 const char *scheme, char *uri, int uri_size);
61 extern int backendGetMakeModel(const char *device_id, char *make_model,
62 int make_model_size);
63 extern ssize_t backendRunLoop(int print_fd, int device_fd, int use_bc,
64 void (*side_cb)(int print_fd, int device_fd,
65 int use_bc));
66
67
68 # ifdef __cplusplus
69 }
70 # endif /* __cplusplus */
71 #endif /* !_CUPS_BACKEND_PRIVATE_H_ */
72
73
74 /*
75 * End of "$Id: backend-private.h 6170 2007-01-02 17:26:41Z mike $".
76 */