freebsd-dev/eBones/libexec/rkinitd/rkinitd.h
Justin T. Gibbs c344ca9395 Server side of the rkinit package.
Obtained from: MIT
1995-09-15 06:13:43 +00:00

35 lines
1.0 KiB
C

/*
* $Id: rkinitd.h,v 1.1 1993/12/10 19:02:10 dglo Exp gibbs $
* $Source: /usr/src/eBones/rkinitd/RCS/rkinitd.h,v $
* $Author: dglo $
*
* This header file contains function declarations for use for rkinitd
*/
#ifndef __RKINITD_H__
#define __RKINITD_H__
#if !defined(lint) && !defined(SABER) && !defined(LOCORE) && defined(RCS_HDRS)
static char *rcsid_rkinitd_h = "$Id: rkinitd.h,v 1.1 1993/12/10 19:02:10 dglo Exp gibbs $";
#endif /* lint || SABER || LOCORE || RCS_HDRS */
#ifdef __STDC__
#define RK_PROTO(x) x
#else
#define RK_PROTO(x) ()
#endif /* __STDC__ */
int get_tickets RK_PROTO((int));
void error RK_PROTO((void));
int setup_rpc RK_PROTO((int)) ;
void rpc_exchange_version_info RK_PROTO((int *, int *, int, int));
void rpc_get_rkinit_info RK_PROTO((rkinit_info *));
void rpc_send_error RK_PROTO((char *));
void rpc_send_success RK_PROTO((void));
void rpc_exchange_tkt RK_PROTO((KTEXT, MSG_DAT *));
void rpc_getauth RK_PROTO((KTEXT, struct sockaddr_in *, struct sockaddr_in *));
int choose_version RK_PROTO((int *));
#endif /* __RKINITD_H__ */