]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/adminutil.h
2 * "$Id: adminutil.h 7026 2007-10-19 00:57:45Z mike $"
4 * Administration utility API definitions for the Common UNIX Printing
7 * MANY OF THE FUNCTIONS IN THIS HEADER ARE PRIVATE AND SUBJECT TO
8 * CHANGE AT ANY TIME. USE AT YOUR OWN RISK.
10 * Copyright 2007 by Apple Inc.
11 * Copyright 2001-2007 by Easy Software Products.
13 * These coded instructions, statements, and computer programs are the
14 * property of Apple Inc. and are protected by Federal copyright
15 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
16 * which should have been included with this file. If this file is
17 * file is missing or damaged, see the license at "http://www.cups.org/".
19 * This file is subject to the Apple OS-Developed Software exception.
22 #ifndef _CUPS_ADMINUTIL_H_
23 # define _CUPS_ADMINUTIL_H_
26 * Include necessary headers...
38 # endif /* __cplusplus */
45 # define CUPS_SERVER_DEBUG_LOGGING "_debug_logging"
46 # define CUPS_SERVER_REMOTE_ADMIN "_remote_admin"
47 # define CUPS_SERVER_REMOTE_ANY "_remote_any"
48 # define CUPS_SERVER_REMOTE_PRINTERS "_remote_printers"
49 # define CUPS_SERVER_SHARE_PRINTERS "_share_printers"
50 # define CUPS_SERVER_USER_CANCEL_ANY "_user_cancel_any"
57 extern int cupsAdminExportSamba(const char *dest
, const char *ppd
,
58 const char *samba_server
,
59 const char *samba_user
,
60 const char *samba_password
,
61 FILE *logfile
) _CUPS_API_1_2
;
62 extern char *cupsAdminCreateWindowsPPD(http_t
*http
, const char *dest
,
63 char *buffer
, int bufsize
) _CUPS_API_1_2
;
65 extern int cupsAdminGetServerSettings(http_t
*http
,
67 cups_option_t
**settings
) _CUPS_API_1_3
;
68 extern int cupsAdminSetServerSettings(http_t
*http
,
70 cups_option_t
*settings
) _CUPS_API_1_3
;
75 # endif /* __cplusplus */
77 #endif /* !_CUPS_ADMINUTIL_H_ */
80 * End of "$Id: adminutil.h 7026 2007-10-19 00:57:45Z mike $".