Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/rpcbind/rpcbind.h
Show All 38 Lines | |||||
/* | /* | ||||
* rpcbind.h | * rpcbind.h | ||||
* The common header declarations | * The common header declarations | ||||
*/ | */ | ||||
#ifndef rpcbind_h | #ifndef rpcbind_h | ||||
#define rpcbind_h | #define rpcbind_h | ||||
#include <signal.h> | |||||
#ifdef PORTMAP | #ifdef PORTMAP | ||||
#include <rpc/pmap_prot.h> | #include <rpc/pmap_prot.h> | ||||
#endif | #endif | ||||
#include <rpc/rpcb_prot.h> | #include <rpc/rpcb_prot.h> | ||||
/* | /* | ||||
* Stuff for the rmtcall service | * Stuff for the rmtcall service | ||||
*/ | */ | ||||
struct encap_parms { | struct encap_parms { | ||||
u_int32_t arglen; | u_int32_t arglen; | ||||
char *args; | char *args; | ||||
}; | }; | ||||
struct r_rmtcall_args { | struct r_rmtcall_args { | ||||
u_int32_t rmt_prog; | u_int32_t rmt_prog; | ||||
u_int32_t rmt_vers; | u_int32_t rmt_vers; | ||||
u_int32_t rmt_proc; | u_int32_t rmt_proc; | ||||
int rmt_localvers; /* whether to send port # or uaddr */ | int rmt_localvers; /* whether to send port # or uaddr */ | ||||
char *rmt_uaddr; | char *rmt_uaddr; | ||||
struct encap_parms rmt_args; | struct encap_parms rmt_args; | ||||
}; | }; | ||||
extern int debugging; | extern int debugging; | ||||
extern int doabort; | extern int doabort; | ||||
extern volatile sig_atomic_t doterminate; | |||||
#ifdef LIBWRAP | #ifdef LIBWRAP | ||||
extern int libwrap; | extern int libwrap; | ||||
#endif | #endif | ||||
extern int verboselog; | extern int verboselog; | ||||
extern int insecure; | extern int insecure; | ||||
extern int oldstyle_local; | extern int oldstyle_local; | ||||
extern rpcblist_ptr list_rbl; /* A list of version 3 & 4 rpcbind services */ | extern rpcblist_ptr list_rbl; /* A list of version 3 & 4 rpcbind services */ | ||||
extern int rpcbindlockfd; | |||||
#ifdef PORTMAP | #ifdef PORTMAP | ||||
extern struct pmaplist *list_pml; /* A list of version 2 rpcbind services */ | extern struct pmaplist *list_pml; /* A list of version 2 rpcbind services */ | ||||
extern char *udptrans; /* Name of UDP transport */ | extern char *udptrans; /* Name of UDP transport */ | ||||
extern char *tcptrans; /* Name of TCP transport */ | extern char *tcptrans; /* Name of TCP transport */ | ||||
extern char *udp_uaddr; /* Universal UDP address */ | extern char *udp_uaddr; /* Universal UDP address */ | ||||
extern char *tcp_uaddr; /* Universal TCP address */ | extern char *tcp_uaddr; /* Universal TCP address */ | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |