From 883dc9fd06ab62cc65651a90683325bf17dd695c Mon Sep 17 00:00:00 2001 From: John Kohl Date: Sat, 3 Feb 1990 17:11:56 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@255 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/extern.c | 30 ++++++++++++++++++++++++++++++ src/kdc/extern.h | 30 ++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 src/kdc/extern.c create mode 100644 src/kdc/extern.h diff --git a/src/kdc/extern.c b/src/kdc/extern.c new file mode 100644 index 000000000..a23e010e4 --- /dev/null +++ b/src/kdc/extern.c @@ -0,0 +1,30 @@ +/* + * $Source$ + * $Author$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * allocations of extern stuff + */ + +#if !defined(lint) && !defined(SABER) +static char rcsid_extern_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + +#include + +#include +#include + +/* real declarations of KDC's externs */ +krb5_rcache kdc_rcache; + +krb5_data empty_string = {0, ""}; +krb5_timestamp infinity = LONG_MAX; /* XXX */ + +krb5_deltat max_life_for_realm; /* XXX parameter per-realm? */ +krb5_deltat max_renewable_life_for_realm; /* XXX param per-realm? */ diff --git a/src/kdc/extern.h b/src/kdc/extern.h new file mode 100644 index 000000000..ef3e1d8cf --- /dev/null +++ b/src/kdc/extern.h @@ -0,0 +1,30 @@ +/* + * $Source$ + * $Author$ + * $Id$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * <<< Description >>> + */ + +#include + +#ifndef __KRB5_KDC_EXTERN__ +#define __KRB5_KDC_EXTERN__ + +/* various externs for KDC */ +extern krb5_rcache kdc_rcache; /* KDC's replay cache */ + +extern krb5_data empty_string; /* an empty string */ +extern krb5_timestamp infinity; /* greater than all other timestamps */ + +extern krb5_deltat max_life_for_realm; /* XXX should be a parameter? */ +extern krb5_deltat max_renewable_life_for_realm; /* XXX should be a parameter? */ +extern krb5_encrypt_block master_encblock; +extern krb5_cryptosystem_entry krb5_des_cs_entry; + +#endif /* __KRB5_KDC_EXTERN__ */ -- 2.26.2