From 606ee03c4bb99d132bbd4a56a05daf74f22bb405 Mon Sep 17 00:00:00 2001 From: Danilo Almeida Date: Fri, 13 Apr 2001 15:38:21 +0000 Subject: [PATCH] * memcache.h: Don't use macro PROTOTYPE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13176 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb4/ChangeLog | 4 ++++ src/lib/krb4/memcache.h | 48 +++++++++++++++-------------------------- 2 files changed, 21 insertions(+), 31 deletions(-) diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 27bb280e5..b9927351e 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,7 @@ +2001-04-13 Danilo Almeida + + * memcache.h: Don't use macro PROTOTYPE. + 2001-04-10 Ken Raeburn * cr_err_repl.c (req_act_vno): Delete commented-out declaration. diff --git a/src/lib/krb4/memcache.h b/src/lib/krb4/memcache.h index 4126e115f..d6d04190b 100644 --- a/src/lib/krb4/memcache.h +++ b/src/lib/krb4/memcache.h @@ -17,34 +17,20 @@ struct Session { }; typedef struct Session Session; -OSErr GetNumSessions PROTOTYPE ((int *n)); -OSErr GetNthSession PROTOTYPE ((const int n, char *name, - char *instance, char *realm)); -OSErr DeleteSession PROTOTYPE ((const char *name, - const char *instance, - const char *realm)); - -OSErr GetCredentials PROTOTYPE ((const char *name, - const char *instance, - const char *realm, - CREDENTIALS *cr)); - /* name, instance, and realm of service wanted should be - set in *cr before calling */ -OSErr AddCredentials PROTOTYPE ((const char *name, - const char *instance, - const char *realm, - const CREDENTIALS *cr)); -OSErr DeleteCredentials PROTOTYPE ((const char *uname, - const char *uinst, - const char *urealm, - const char *sname, - const char *sinst, - const char *srealm)); -OSErr GetNumCredentials PROTOTYPE ((const char *name, - const char *instance, - const char *realm, int *n)); -OSErr GetNthCredentials PROTOTYPE ((const char *uname, - const char *uinst, - const char *urealm, char *sname, - char *sinst, char *srealm, - const int n)); +OSErr GetNumSessions(int *n); +OSErr GetNthSession(const int n, char *name, char *instance, char *realm); +OSErr DeleteSession(const char *name, const char *instance, const char *realm); +OSErr GetCredentials(const char *name, const char *instance, const char *realm, + CREDENTIALS *cr); +/* name, instance, and realm of service wanted should be set in *cr + before calling */ +OSErr AddCredentials(const char *name, const char *instance, const char *realm, + const CREDENTIALS *cr); +OSErr DeleteCredentials(const char *uname, const char *uinst, + const char *urealm, const char *sname, + const char *sinst, const char *srealm); +OSErr GetNumCredentials(const char *name, const char *instance, + const char *realm, int *n); +OSErr GetNthCredentials(const char *uname, const char *uinst, + const char *urealm, char *sname, char *sinst, + char *srealm, const int n); -- 2.26.2