source: trunk/athena/bin/aklog/aklog.h @ 5323

Revision 5323, 1013 bytes checked in by probe, 33 years ago (diff)
Added copyright notice
Line 
1/*
2 * $Id: aklog.h,v 1.5 1991-07-16 06:25:20 probe Exp $
3 *
4 * Copyright 1990,1991 by the Massachusetts Institute of Technology
5 * For distribution and copying rights, see the file "mit-copyright.h"
6 */
7
8#ifndef __AKLOG_H__
9#define __AKLOG_H__
10
11#if !defined(lint) && !defined(SABER)
12static char *rcsid_aklog_h = "$Id: aklog.h,v 1.5 1991-07-16 06:25:20 probe Exp $";
13#endif /* lint || SABER */
14
15#include <krb.h>
16#include "linked_list.h"
17
18#ifdef __STDC__
19#define ARGS(x) x
20#else
21#define ARGS(x) ()
22#endif /* __STDC__ */
23
24typedef struct {
25    int (*readlink)ARGS((char *, char *, int));
26    int (*isdir)ARGS((char *, unsigned char *));
27    char *(*getwd)ARGS((char *));
28    int (*get_cred)ARGS((char *, char *, char *, CREDENTIALS *));
29    int (*get_user_realm)ARGS((char *));
30    void (*pstderr)ARGS((char *));
31    void (*pstdout)ARGS((char *));
32    void (*exitprog)ARGS((char));
33} aklog_params;
34
35void aklog ARGS((int, char *[], aklog_params *));
36void aklog_init_params ARGS((aklog_params *));
37
38#endif __AKLOG_H__
Note: See TracBrowser for help on using the repository browser.