]>
git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/policy.h
2 * "$Id: policy.h 6895 2007-08-30 00:09:27Z mike $"
4 * Policy definitions for the Common UNIX Printing System (CUPS)
7 * Copyright 2007 by Apple Inc.
8 * Copyright 1997-2005 by Easy Software Products, all rights reserved.
10 * These coded instructions, statements, and computer programs are the
11 * property of Apple Inc. and are protected by Federal copyright
12 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
13 * which should have been included with this file. If this file is
14 * file is missing or damaged, see the license at "http://www.cups.org/".
24 char *name
; /* Policy name */
25 cups_array_t
*ops
; /* Operations */
33 VAR cups_array_t
*Policies
VALUE(NULL
);
41 extern cupsd_policy_t
*cupsdAddPolicy(const char *policy
);
42 extern cupsd_location_t
*cupsdAddPolicyOp(cupsd_policy_t
*p
,
45 extern http_status_t
cupsdCheckPolicy(cupsd_policy_t
*p
, cupsd_client_t
*con
,
47 extern void cupsdDeleteAllPolicies(void);
48 extern cupsd_policy_t
*cupsdFindPolicy(const char *policy
);
49 extern cupsd_location_t
*cupsdFindPolicyOp(cupsd_policy_t
*p
, ipp_op_t op
);
53 * End of "$Id: policy.h 6895 2007-08-30 00:09:27Z mike $".