]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/adminutil.h
2 * "$Id: adminutil.h 6378 2007-03-21 07:18:18Z 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 2001-2007 by Easy Software Products.
12 * These coded instructions, statements, and computer programs are the
13 * property of Easy Software Products and are protected by Federal
14 * copyright law. Distribution and use rights are outlined in the file
15 * "LICENSE.txt" which should have been included with this file. If this
16 * file is missing or damaged please contact Easy Software Products
19 * Attn: CUPS Licensing Information
20 * Easy Software Products
21 * 44141 Airport View Drive, Suite 204
22 * Hollywood, Maryland 20636 USA
24 * Voice: (301) 373-9600
25 * EMail: cups-info@cups.org
26 * WWW: http://www.cups.org
28 * This file is subject to the Apple OS-Developed Software exception.
31 #ifndef _CUPS_ADMINUTIL_H_
32 # define _CUPS_ADMINUTIL_H_
35 * Include necessary headers...
47 # endif /* __cplusplus */
54 # define CUPS_SERVER_DEBUG_LOGGING "_debug_logging"
55 # define CUPS_SERVER_REMOTE_ADMIN "_remote_admin"
56 # define CUPS_SERVER_REMOTE_ANY "_remote_any"
57 # define CUPS_SERVER_REMOTE_PRINTERS "_remote_printers"
58 # define CUPS_SERVER_SHARE_PRINTERS "_share_printers"
59 # define CUPS_SERVER_USER_CANCEL_ANY "_user_cancel_any"
66 extern int cupsAdminExportSamba(const char *dest
, const char *ppd
,
67 const char *samba_server
,
68 const char *samba_user
,
69 const char *samba_password
,
71 extern char *cupsAdminCreateWindowsPPD(http_t
*http
, const char *dest
,
72 char *buffer
, int bufsize
);
74 extern int cupsAdminGetServerSettings(http_t
*http
,
76 cups_option_t
**settings
);
77 extern int cupsAdminSetServerSettings(http_t
*http
,
79 cups_option_t
*settings
);
84 # endif /* __cplusplus */
86 #endif /* !_CUPS_ADMINUTIL_H_ */
89 * End of "$Id: adminutil.h 6378 2007-03-21 07:18:18Z mike $".