source: trunk/third/cns/src/include/kdc-sed.h @ 8789

Revision 8789, 893 bytes checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r8788, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * kdc-sed.h
3 *
4 * Copyright 1987, 1988 by the Massachusetts Institute of Technology.
5 *
6 * For copying and distribution information, please see the file
7 * <mit-copyright.h>.
8 *
9 * Include file for the Kerberos Key Distribution Center.
10 */
11
12#include "mit-copyright.h"
13
14#ifndef KDC_DEFS
15#define KDC_DEFS
16
17#define S_AD_SZ         sizeof(struct sockaddr_in)
18
19#define max(a,b)        (a>b ? a : b)
20#define min(a,b)        (a<b ? a : b)
21
22#define TRUE            1
23#define FALSE           0
24
25#define MKEYFILE        "/.k"
26#define K_LOGFIL        "KLOGDIR/kpropd.log"
27#define KS_LOGFIL       "KLOGDIR/kerberos_slave.log"
28#define KRB_ACL         "KDBDIR/kerberos.acl"
29#define KRB_PROG        "./kerberos"
30
31#define ONE_MINUTE      60
32#define FIVE_MINUTES    (5 * ONE_MINUTE)
33#define ONE_HOUR        (60 * ONE_MINUTE)
34#define ONE_DAY         (24 * ONE_HOUR)
35#define THREE_DAYS      (3 * ONE_DAY)
36
37/* Function declarations */
38
39extern int kerb_init();
40extern int kerb_fini();
41
42#endif /* KDC_DEFS */
Note: See TracBrowser for help on using the repository browser.