1*7c478bd9Sstevel@tonic-gate /* 2*7c478bd9Sstevel@tonic-gate * Copyright 1997-2002 Sun Microsystems, Inc. All rights reserved. 3*7c478bd9Sstevel@tonic-gate * Use is subject to license terms. 4*7c478bd9Sstevel@tonic-gate */ 5*7c478bd9Sstevel@tonic-gate 6*7c478bd9Sstevel@tonic-gate #ifndef __KRB5_KDC_POLICY__ 7*7c478bd9Sstevel@tonic-gate #define __KRB5_KDC_POLICY__ 8*7c478bd9Sstevel@tonic-gate 9*7c478bd9Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 10*7c478bd9Sstevel@tonic-gate 11*7c478bd9Sstevel@tonic-gate #ifdef __cplusplus 12*7c478bd9Sstevel@tonic-gate extern "C" { 13*7c478bd9Sstevel@tonic-gate #endif 14*7c478bd9Sstevel@tonic-gate 15*7c478bd9Sstevel@tonic-gate 16*7c478bd9Sstevel@tonic-gate 17*7c478bd9Sstevel@tonic-gate /* 18*7c478bd9Sstevel@tonic-gate * kdc/policy.h 19*7c478bd9Sstevel@tonic-gate * 20*7c478bd9Sstevel@tonic-gate * Copyright 1990 by the Massachusetts Institute of Technology. 21*7c478bd9Sstevel@tonic-gate * 22*7c478bd9Sstevel@tonic-gate * Export of this software from the United States of America may 23*7c478bd9Sstevel@tonic-gate * require a specific license from the United States Government. 24*7c478bd9Sstevel@tonic-gate * It is the responsibility of any person or organization contemplating 25*7c478bd9Sstevel@tonic-gate * export to obtain such a license before exporting. 26*7c478bd9Sstevel@tonic-gate * 27*7c478bd9Sstevel@tonic-gate * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 28*7c478bd9Sstevel@tonic-gate * distribute this software and its documentation for any purpose and 29*7c478bd9Sstevel@tonic-gate * without fee is hereby granted, provided that the above copyright 30*7c478bd9Sstevel@tonic-gate * notice appear in all copies and that both that copyright notice and 31*7c478bd9Sstevel@tonic-gate * this permission notice appear in supporting documentation, and that 32*7c478bd9Sstevel@tonic-gate * the name of M.I.T. not be used in advertising or publicity pertaining 33*7c478bd9Sstevel@tonic-gate * to distribution of the software without specific, written prior 34*7c478bd9Sstevel@tonic-gate * permission. Furthermore if you modify this software you must label 35*7c478bd9Sstevel@tonic-gate * your software as modified software and not distribute it in such a 36*7c478bd9Sstevel@tonic-gate * fashion that it might be confused with the original M.I.T. software. 37*7c478bd9Sstevel@tonic-gate * M.I.T. makes no representations about the suitability of 38*7c478bd9Sstevel@tonic-gate * this software for any purpose. It is provided "as is" without express 39*7c478bd9Sstevel@tonic-gate * or implied warranty. 40*7c478bd9Sstevel@tonic-gate * 41*7c478bd9Sstevel@tonic-gate * 42*7c478bd9Sstevel@tonic-gate * Declarations for policy.c 43*7c478bd9Sstevel@tonic-gate */ 44*7c478bd9Sstevel@tonic-gate 45*7c478bd9Sstevel@tonic-gate 46*7c478bd9Sstevel@tonic-gate extern int against_postdate_policy PROTOTYPE((krb5_timestamp)); 47*7c478bd9Sstevel@tonic-gate 48*7c478bd9Sstevel@tonic-gate extern int against_flag_policy_as PROTOTYPE((const krb5_kdc_req *)); 49*7c478bd9Sstevel@tonic-gate 50*7c478bd9Sstevel@tonic-gate extern int against_flag_policy_tgs PROTOTYPE((const krb5_kdc_req *, 51*7c478bd9Sstevel@tonic-gate const krb5_ticket *)); 52*7c478bd9Sstevel@tonic-gate 53*7c478bd9Sstevel@tonic-gate #ifdef __cplusplus 54*7c478bd9Sstevel@tonic-gate } 55*7c478bd9Sstevel@tonic-gate #endif 56*7c478bd9Sstevel@tonic-gate 57*7c478bd9Sstevel@tonic-gate #endif /* !__KRB5_KDC_POLICY__ */ 58