2 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 #ifndef __KRB5_KDC_POLICY__
7 #define __KRB5_KDC_POLICY__
9 #pragma ident "%Z%%M% %I% %E% SMI"
20 * Copyright 1990 by the Massachusetts Institute of Technology.
22 * Export of this software from the United States of America may
23 * require a specific license from the United States Government.
24 * It is the responsibility of any person or organization contemplating
25 * export to obtain such a license before exporting.
27 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
28 * distribute this software and its documentation for any purpose and
29 * without fee is hereby granted, provided that the above copyright
30 * notice appear in all copies and that both that copyright notice and
31 * this permission notice appear in supporting documentation, and that
32 * the name of M.I.T. not be used in advertising or publicity pertaining
33 * to distribution of the software without specific, written prior
34 * permission. Furthermore if you modify this software you must label
35 * your software as modified software and not distribute it in such a
36 * fashion that it might be confused with the original M.I.T. software.
37 * M.I.T. makes no representations about the suitability of
38 * this software for any purpose. It is provided "as is" without express
39 * or implied warranty.
42 * Declarations for policy.c
46 extern int against_postdate_policy (krb5_timestamp
);
48 extern int against_flag_policy_as (const krb5_kdc_req
*);
50 extern int against_flag_policy_tgs (const krb5_kdc_req
*,
57 #endif /* !__KRB5_KDC_POLICY__ */