]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/adminutil.h
Remove svn:keywords since they cause svn_load_dirs.pl to complain about every file.
[thirdparty/cups.git] / cups / adminutil.h
CommitLineData
757d2cad 1/*
c07d5b2d 2 * "$Id: adminutil.h 177 2006-06-21 00:20:03Z jlovell $"
757d2cad 3 *
4 * Administration utility API definitions for the Common UNIX Printing
5 * System (CUPS).
6 *
7 * MANY OF THE FUNCTIONS IN THIS HEADER ARE PRIVATE AND SUBJECT TO
8 * CHANGE AT ANY TIME. USE AT YOUR OWN RISK.
9 *
10 * Copyright 2001-2006 by Easy Software Products.
11 *
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
17 * at:
18 *
19 * Attn: CUPS Licensing Information
20 * Easy Software Products
21 * 44141 Airport View Drive, Suite 204
22 * Hollywood, Maryland 20636 USA
23 *
24 * Voice: (301) 373-9600
25 * EMail: cups-info@cups.org
26 * WWW: http://www.cups.org
27 *
28 * This file is subject to the Apple OS-Developed Software exception.
29 */
30
31#ifndef _CUPS_ADMINUTIL_H_
32# define _CUPS_ADMINUTIL_H_
33
34/*
35 * Include necessary headers...
36 */
37
38# include "cups.h"
39
40
41/*
42 * C++ magic...
43 */
44
45# ifdef __cplusplus
46extern "C" {
47# endif /* __cplusplus */
48
49
50/*
51 * Constants...
52 */
53
54# define CUPS_SERVER_DEBUG_LOGGING "_debug_logging"
55# define CUPS_SERVER_REMOTE_ADMIN "_remote_admin"
56# define CUPS_SERVER_REMOTE_PRINTERS "_remote_printers"
57# define CUPS_SERVER_SHARE_PRINTERS "_share_printers"
58# define CUPS_SERVER_USER_CANCEL_ANY "_user_cancel_any"
59
60
61/*
62 * Functions...
63 */
64
65extern int cupsAdminExportSamba(const char *dest, const char *ppd,
66 const char *samba_server,
67 const char *samba_user,
68 const char *samba_password,
69 FILE *logfile);
70extern char *cupsAdminCreateWindowsPPD(http_t *http, const char *dest,
71 char *buffer, int bufsize);
72
73extern int _cupsAdminGetServerSettings(http_t *http,
74 int *num_settings,
75 cups_option_t **settings);
76extern int _cupsAdminSetServerSettings(http_t *http,
77 int num_settings,
78 cups_option_t *settings);
79
80
81# ifdef __cplusplus
82}
83# endif /* __cplusplus */
84
85#endif /* !_CUPS_ADMINUTIL_H_ */
86
87/*
c07d5b2d 88 * End of "$Id: adminutil.h 177 2006-06-21 00:20:03Z jlovell $".
757d2cad 89 */