xref: /onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc-int.h (revision 7934:6aeeafc994de)
1781Sgtb /*
2781Sgtb  * lib/krb5/ccache/file/cc-int.h
3781Sgtb  *
4781Sgtb  * Copyright 1990,1991 by the Massachusetts Institute of Technology.
5781Sgtb  * All Rights Reserved.
6781Sgtb  *
7781Sgtb  * Export of this software from the United States of America may
8781Sgtb  *   require a specific license from the United States Government.
9781Sgtb  *   It is the responsibility of any person or organization contemplating
10781Sgtb  *   export to obtain such a license before exporting.
11781Sgtb  *
12781Sgtb  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
13781Sgtb  * distribute this software and its documentation for any purpose and
14781Sgtb  * without fee is hereby granted, provided that the above copyright
15781Sgtb  * notice appear in all copies and that both that copyright notice and
16781Sgtb  * this permission notice appear in supporting documentation, and that
17781Sgtb  * the name of M.I.T. not be used in advertising or publicity pertaining
18781Sgtb  * to distribution of the software without specific, written prior
19781Sgtb  * permission.  Furthermore if you modify this software you must label
20781Sgtb  * your software as modified software and not distribute it in such a
21781Sgtb  * fashion that it might be confused with the original M.I.T. software.
22781Sgtb  * M.I.T. makes no representations about the suitability of
23781Sgtb  * this software for any purpose.  It is provided "as is" without express
24781Sgtb  * or implied warranty.
25781Sgtb  *
26781Sgtb  *
27781Sgtb  * This file contains constant and function declarations used in the
28781Sgtb  * file-based credential cache routines.
29781Sgtb  */
30781Sgtb 
31781Sgtb #ifndef __KRB5_CCACHE_H__
32781Sgtb #define __KRB5_CCACHE_H__
33781Sgtb 
34781Sgtb #include "k5-int.h"
35781Sgtb 
36781Sgtb krb5_boolean
37781Sgtb krb5int_cc_creds_match_request(krb5_context, krb5_flags whichfields, krb5_creds *mcreds, krb5_creds *creds);
38781Sgtb 
39781Sgtb int
40781Sgtb krb5int_cc_initialize(void);
41781Sgtb 
42781Sgtb void
43781Sgtb krb5int_cc_finalize(void);
44781Sgtb 
45781Sgtb extern k5_mutex_t krb5int_mcc_mutex;
46*7934SMark.Phalan@Sun.COM extern k5_mutex_t krb5int_krcc_mutex;
47781Sgtb extern k5_mutex_t krb5int_cc_file_mutex;
48781Sgtb 
49781Sgtb #endif /* __KRB5_CCACHE_H__ */
50