diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-03-12 15:10:02 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-03-12 15:10:02 +0000 |
commit | c3d804acb3a6aee373b85da167a3977defe3ab1d (patch) | |
tree | d1a2b3172e22fead6c413c8e3408d9a05b94faea /src/krb524/krb524d.c | |
parent | fbdbf70363c56f2d3f3ed7c93e03284451a0aab5 (diff) | |
download | krb5-c3d804acb3a6aee373b85da167a3977defe3ab1d.zip krb5-c3d804acb3a6aee373b85da167a3977defe3ab1d.tar.gz krb5-c3d804acb3a6aee373b85da167a3977defe3ab1d.tar.bz2 |
* krb524d.c: Provide prototypes for local functions
* test.c: Declare local functions static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13076 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/krb524/krb524d.c')
-rw-r--r-- | src/krb524/krb524d.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/krb524/krb524d.c b/src/krb524/krb524d.c index 737818e..ab3d038 100644 --- a/src/krb524/krb524d.c +++ b/src/krb524/krb524d.c @@ -51,17 +51,25 @@ int use_keytab, use_master; char *keytab = NULL; krb5_keytab kt; -void init_keytab(), init_master(), cleanup_and_exit(); -krb5_error_code do_connection(), lookup_service_key(), kdc_get_server_key(); - -void usage(context) +void init_keytab(krb5_context), + init_master(krb5_context, kadm5_config_params *), + cleanup_and_exit(int, krb5_context); +krb5_error_code do_connection(int, krb5_context); +krb5_error_code lookup_service_key(krb5_context, krb5_principal, + krb5_enctype, krb5_kvno, + krb5_keyblock *, krb5_kvno *); +krb5_error_code kdc_get_server_key(krb5_context, krb5_principal, + krb5_keyblock *, krb5_kvno *, + krb5_enctype, krb5_kvno); + +static void usage(context) krb5_context context; { fprintf(stderr, "Usage: %s [-k[eytab]] [-m[aster] [-r realm]] [-nofork]\n", whoami); cleanup_and_exit(1, context); } -RETSIGTYPE request_exit(signo) +static RETSIGTYPE request_exit(signo) int signo; { signalled = 1; |