]>
git.ipfire.org Git - thirdparty/cups.git/blob - backend/backend-private.h
d4a10b6a66be8b35d92d80fd3a5b25a8921e6252
2 * "$Id: backend-private.h 6649 2007-07-11 21:46:42Z mike $"
4 * Backend support definitions for the Common UNIX Printing System (CUPS).
6 * Copyright 2007 by Apple Inc.
7 * Copyright 1997-2007 by Easy Software Products, all rights reserved.
9 * These coded instructions, statements, and computer programs are the
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 * "LICENSE" which should have been included with this file. If this
13 * file is missing or damaged, see the license at "http://www.cups.org/".
15 * This file is subject to the Apple OS-Developed Software exception.
18 #ifndef _CUPS_BACKEND_PRIVATE_H_
19 # define _CUPS_BACKEND_PRIVATE_H_
23 * Include necessary headers.
26 # include <cups/backend.h>
27 # include <cups/sidechannel.h>
28 # include <cups/cups.h>
29 # include <cups/debug.h>
30 # include <cups/i18n.h>
33 # include <cups/string.h>
43 # endif /* __cplusplus */
50 extern int backendDrainOutput(int print_fd
, int device_fd
);
51 extern int backendGetDeviceID(int fd
, char *device_id
, int device_id_size
,
52 char *make_model
, int make_model_size
,
53 const char *scheme
, char *uri
, int uri_size
);
54 extern int backendGetMakeModel(const char *device_id
, char *make_model
,
56 extern ssize_t
backendRunLoop(int print_fd
, int device_fd
, int use_bc
,
57 void (*side_cb
)(int print_fd
, int device_fd
,
63 # endif /* __cplusplus */
64 #endif /* !_CUPS_BACKEND_PRIVATE_H_ */
68 * End of "$Id: backend-private.h 6649 2007-07-11 21:46:42Z mike $".