source: trunk/athena/bin/rkinit/include/rkinit.h @ 3300

Revision 3300, 1.1 KB checked in by qjb, 35 years ago (diff)
ANSI-ified file and changed RCS header format
Line 
1/*
2 * $Id: rkinit.h,v 1.3 1990-07-16 14:14:29 qjb Exp $
3 * $Source: /afs/dev.mit.edu/source/repository/athena/bin/rkinit/include/rkinit.h,v $
4 * $Author: qjb $
5 *
6 * Main header file for rkinit library users
7 */
8
9#ifndef __RKINIT_H__
10#define __RKINIT_H__
11
12#if !defined(lint) && !defined(SABER) && !defined(LOCORE) && defined(RCS_HDRS)
13static char *rcsid_rkinit_h = "$Id: rkinit.h,v 1.3 1990-07-16 14:14:29 qjb Exp $";
14#endif /* lint || SABER || LOCORE || RCS_HDRS */
15
16#include <krb.h>
17#include <sys/param.h>
18
19#ifdef __STDC__
20#define RK_PROTO(x) x
21#else
22#define RK_PROTO(x) ()
23#endif /* __STDC__ */
24
25typedef struct {
26    char aname[ANAME_SZ + 1];
27    char inst[INST_SZ + 1];
28    char realm[REALM_SZ + 1];
29    char sname[ANAME_SZ + 1];
30    char sinst[INST_SZ + 1];
31    char username[9];           /* max local name length + 1 */
32    char tktfilename[MAXPATHLEN + 1];
33    long lifetime;
34} rkinit_info;
35
36#define RKINIT_SUCCESS 0
37
38/* Function declarations */
39extern int rkinit RK_PROTO((char *, char *, rkinit_info *, int));
40extern char *rkinit_errmsg RK_PROTO((char *));
41
42#endif /* __RKINIT_H__ */
Note: See TracBrowser for help on using the repository browser.