]>
git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/policy.h
2 * "$Id: policy.h 4871 2005-12-07 00:41:11Z mike $"
4 * Policy definitions for the Common UNIX Printing System (CUPS)
7 * Copyright 1997-2005 by Easy Software Products, all rights reserved.
9 * These coded instructions, statements, and computer programs are the
10 * property of Easy Software Products and are protected by Federal
11 * copyright law. Distribution and use rights are outlined in the file
12 * "LICENSE.txt" which should have been included with this file. If this
13 * file is missing or damaged please contact Easy Software Products
16 * Attn: CUPS Licensing Information
17 * Easy Software Products
18 * 44141 Airport View Drive, Suite 204
19 * Hollywood, Maryland 20636 USA
21 * Voice: (301) 373-9600
22 * EMail: cups-info@cups.org
23 * WWW: http://www.cups.org
33 char *name
; /* Policy name */
34 int num_ops
; /* Number of operations */
35 cupsd_location_t
**ops
; /* Operations */
43 VAR
int NumPolicies
VALUE(0);
44 /* Number of policies */
45 VAR cupsd_policy_t
**Policies
VALUE(NULL
);
53 extern cupsd_policy_t
*cupsdAddPolicy(const char *policy
);
54 extern cupsd_location_t
*cupsdAddPolicyOp(cupsd_policy_t
*p
,
57 extern http_status_t
cupsdCheckPolicy(cupsd_policy_t
*p
, cupsd_client_t
*con
,
59 extern void cupsdDeleteAllPolicies(void);
60 extern cupsd_policy_t
*cupsdFindPolicy(const char *policy
);
61 extern cupsd_location_t
*cupsdFindPolicyOp(cupsd_policy_t
*p
, ipp_op_t op
);
65 * End of "$Id: policy.h 4871 2005-12-07 00:41:11Z mike $".