1 #pragma ident	"%Z%%M%	%I%	%E% SMI"
2 
3 /*
4  * lib/krb5/ccache/file/mcc_close.c
5  *
6  * Copyright 1990,1991 by the Massachusetts Institute of Technology.
7  * All Rights Reserved.
8  *
9  * Export of this software from the United States of America may
10  *   require a specific license from the United States Government.
11  *   It is the responsibility of any person or organization contemplating
12  *   export to obtain such a license before exporting.
13  *
14  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
15  * distribute this software and its documentation for any purpose and
16  * without fee is hereby granted, provided that the above copyright
17  * notice appear in all copies and that both that copyright notice and
18  * this permission notice appear in supporting documentation, and that
19  * the name of M.I.T. not be used in advertising or publicity pertaining
20  * to distribution of the software without specific, written prior
21  * permission.  Furthermore if you modify this software you must label
22  * your software as modified software and not distribute it in such a
23  * fashion that it might be confused with the original M.I.T. software.
24  * M.I.T. makes no representations about the suitability of
25  * this software for any purpose.  It is provided "as is" without express
26  * or implied warranty.
27  *
28  *
29  * This file contains the source code for krb5_mcc_close.
30  */
31 
32 
33 
34 #include "mcc.h"
35 /*
36  * Modifies:
37  * id
38  *
39  * Effects:
40  * Closes the file cache, invalidates the id, and frees any resources
41  * associated with the cache.
42  */
43 krb5_error_code KRB5_CALLCONV
44 krb5_mcc_close(context, id)
45    krb5_context context;
46    krb5_ccache id;
47 {
48      krb5_xfree(id);
49 
50      return KRB5_OK;
51 }
52