]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/adminutil.h
4 * Administration utility API definitions for CUPS.
6 * Copyright 2007-2012 by Apple Inc.
7 * Copyright 2001-2007 by Easy Software Products.
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 * which should have been included with this file. If this file is
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_ADMINUTIL_H_
19 # define _CUPS_ADMINUTIL_H_
22 * Include necessary headers...
35 # endif /* __cplusplus */
42 # define CUPS_SERVER_DEBUG_LOGGING "_debug_logging"
43 # define CUPS_SERVER_REMOTE_ADMIN "_remote_admin"
44 # define CUPS_SERVER_REMOTE_ANY "_remote_any"
45 /*# define CUPS_SERVER_REMOTE_PRINTERS "_remote_printers"*/
46 # define CUPS_SERVER_SHARE_PRINTERS "_share_printers"
47 # define CUPS_SERVER_USER_CANCEL_ANY "_user_cancel_any"
54 extern int cupsAdminExportSamba(const char *dest
, const char *ppd
,
55 const char *samba_server
,
56 const char *samba_user
,
57 const char *samba_password
,
58 FILE *logfile
) _CUPS_DEPRECATED
;
59 extern char *cupsAdminCreateWindowsPPD(http_t
*http
, const char *dest
,
60 char *buffer
, int bufsize
)
63 extern int cupsAdminGetServerSettings(http_t
*http
,
65 cups_option_t
**settings
)
67 extern int cupsAdminSetServerSettings(http_t
*http
,
69 cups_option_t
*settings
)
75 # endif /* __cplusplus */
77 #endif /* !_CUPS_ADMINUTIL_H_ */