about to try to use unprotoize (in gccdev) to convert to old K&R style
[krb5.git] / src / lib / krb5 / ccache / file / fcc_getnam.c
1 /*
2  * $Source$
3  * $Author$
4  *
5  * Copyright 1990 by the Massachusetts Institute of Technology.
6  *
7  * For copying and distribution information, please see the file
8  * <krb5/mit-copyright.h>.
9  *
10  * This file contains the source code for krb5_fcc_get_name.
11  */
12
13 #ifndef lint
14 static char fcc_resolve_c[] = "$Id$";
15 #endif  lint
16
17 #include <krb5/copyright.h>
18
19 #include "fcc.h"
20
21 /*
22  * Requires:
23  * id is a file credential cache
24  * 
25  * Returns:
26  * The name of the file cred cache id.
27  */
28 char *
29 krb5_fcc_get_name (krb5_ccache id)
30 {
31      return (char *) id->data->filename;
32 }