diff options
author | Ezra Peisach <epeisach@mit.edu> | 2004-05-28 03:44:33 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2004-05-28 03:44:33 +0000 |
commit | 63740c4e54727a7b2a40a46992f505c7d551f835 (patch) | |
tree | 47aef9255308e5d915792e8e1d9269dbd9c623a9 /src/lib/krb5/rcache | |
parent | e7fd9042de9c1a1bc58f74a520cb9646d5cebc9e (diff) | |
download | krb5-63740c4e54727a7b2a40a46992f505c7d551f835.tar.gz krb5-63740c4e54727a7b2a40a46992f505c7d551f835.tar.xz krb5-63740c4e54727a7b2a40a46992f505c7d551f835.zip |
Add prototypes for library init and fini functions. Makefile dependencies
updated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16371 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/rcache')
-rw-r--r-- | src/lib/krb5/rcache/ChangeLog | 7 | ||||
-rw-r--r-- | src/lib/krb5/rcache/Makefile.in | 2 | ||||
-rw-r--r-- | src/lib/krb5/rcache/rc-int.h | 38 | ||||
-rw-r--r-- | src/lib/krb5/rcache/rc_base.c | 1 |
4 files changed, 47 insertions, 1 deletions
diff --git a/src/lib/krb5/rcache/ChangeLog b/src/lib/krb5/rcache/ChangeLog index b2c49135c6..2b4b65da2b 100644 --- a/src/lib/krb5/rcache/ChangeLog +++ b/src/lib/krb5/rcache/ChangeLog @@ -1,3 +1,10 @@ +2004-05-27 Ezra Peisach <epeisach@mit.edu> + + * rc_base.c: Include rc-int.h + + * rc-int.h: Create file with prototypes for krb5int_rc_finish_init and + krb5int_rc_terminate. + 2004-05-24 Ezra Peisach <epeisach@mit.edu> * rc_io.c (krb5_rc_io_open_internal): If file could not be open, diff --git a/src/lib/krb5/rcache/Makefile.in b/src/lib/krb5/rcache/Makefile.in index 21d396072f..3f753d4f99 100644 --- a/src/lib/krb5/rcache/Makefile.in +++ b/src/lib/krb5/rcache/Makefile.in @@ -51,7 +51,7 @@ rc_base.so rc_base.po $(OUTPRE)rc_base.$(OBJEXT): rc_base.c rc_base.h $(SRCTOP)/ $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \ $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \ $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \ - $(SRCTOP)/include/krb5/kdb.h + $(SRCTOP)/include/krb5/kdb.h rc-int.h rc_dfl.so rc_dfl.po $(OUTPRE)rc_dfl.$(OBJEXT): rc_dfl.c rc_base.h $(SRCTOP)/include/k5-int.h \ $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \ $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \ diff --git a/src/lib/krb5/rcache/rc-int.h b/src/lib/krb5/rcache/rc-int.h new file mode 100644 index 0000000000..613d7e9f1c --- /dev/null +++ b/src/lib/krb5/rcache/rc-int.h @@ -0,0 +1,38 @@ +/* + * lib/krb5/keytab/rc-int.h + * + * Copyright 2004 by the Massachusetts Institute of Technology. + * All Rights Reserved. + * + * Export of this software from the United States of America may + * require a specific license from the United States Government. + * It is the responsibility of any person or organization contemplating + * export to obtain such a license before exporting. + * + * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + * distribute this software and its documentation for any purpose and + * without fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright notice and + * this permission notice appear in supporting documentation, and that + * the name of M.I.T. not be used in advertising or publicity pertaining + * to distribution of the software without specific, written prior + * permission. Furthermore if you modify this software you must label + * your software as modified software and not distribute it in such a + * fashion that it might be confused with the original M.I.T. software. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" without express + * or implied warranty. + * + * + * This file contains constant and function declarations used in the + * file-based credential cache routines. + */ + +#ifndef __KRB5_RCACHE_INT_H__ +#define __KRB5_RCACHE_INT_H__ + +int krb5int_rc_finish_init(void); + +void krb5int_rc_terminate(void); + +#endif /* __KRB5_RCACHE_INT_H__ */ diff --git a/src/lib/krb5/rcache/rc_base.c b/src/lib/krb5/rcache/rc_base.c index bde942a5dd..4146cc8d65 100644 --- a/src/lib/krb5/rcache/rc_base.c +++ b/src/lib/krb5/rcache/rc_base.c @@ -12,6 +12,7 @@ */ #include "rc_base.h" +#include "rc-int.h" #include "k5-thread.h" #define FREE(x) ((void) free((char *) (x))) |