]> git.ipfire.org Git - thirdparty/cups.git/blame - backend/backend-private.h
Load cups into easysw/current.
[thirdparty/cups.git] / backend / backend-private.h
CommitLineData
ed486911 1/*
c0e1af83 2 * "$Id: backend-private.h 6402 2007-03-27 07:54:14Z mike $"
ed486911 3 *
4 * Backend support definitions for the Common UNIX Printing System (CUPS).
5 *
f7deaa1a 6 * Copyright 1997-2007 by Easy Software Products, all rights reserved.
ed486911 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>
f7deaa1a 36# include <cups/sidechannel.h>
ed486911 37# include <cups/cups.h>
38# include <cups/debug.h>
c0e1af83 39# include <cups/i18n.h>
ed486911 40# include <stdlib.h>
41# include <errno.h>
42# include <cups/string.h>
43# include <signal.h>
44
45
46/*
47 * C++ magic...
48 */
49
d09495fa 50# ifdef __cplusplus
ed486911 51extern "C" {
d09495fa 52# endif /* __cplusplus */
ed486911 53
54
55/*
56 * Prototypes...
57 */
58
59extern int backendGetDeviceID(int fd, char *device_id, int device_id_size,
60 char *make_model, int make_model_size,
61 const char *scheme, char *uri, int uri_size);
62extern int backendGetMakeModel(const char *device_id, char *make_model,
63 int make_model_size);
f7deaa1a 64extern ssize_t backendRunLoop(int print_fd, int device_fd, int use_bc,
65 void (*side_cb)(int print_fd, int device_fd,
66 int use_bc));
ed486911 67
68
d09495fa 69# ifdef __cplusplus
ed486911 70}
d09495fa 71# endif /* __cplusplus */
ed486911 72#endif /* !_CUPS_BACKEND_PRIVATE_H_ */
73
74
75/*
c0e1af83 76 * End of "$Id: backend-private.h 6402 2007-03-27 07:54:14Z mike $".
ed486911 77 */