2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _BOOTPARAM_PROT_H_RPCGEN
7 #define _BOOTPARAM_PROT_H_RPCGEN
15 #include <rpc/types.h>
17 #include <sys/errno.h>
18 #include <sys/param.h>
19 #include <sys/syslimits.h>
20 #define MAX_MACHINE_NAME 255
21 #define MAX_PATH_LEN 1024
23 #define IP_ADDR_TYPE 1
25 typedef char *bp_machine_name_t;
27 typedef char *bp_path_t;
29 typedef char *bp_fileid_t;
37 typedef struct ip_addr_t ip_addr_t;
45 typedef struct bp_address bp_address;
47 struct bp_whoami_arg {
48 bp_address client_address;
50 typedef struct bp_whoami_arg bp_whoami_arg;
52 struct bp_whoami_res {
53 bp_machine_name_t client_name;
54 bp_machine_name_t domain_name;
55 bp_address router_address;
57 typedef struct bp_whoami_res bp_whoami_res;
59 struct bp_getfile_arg {
60 bp_machine_name_t client_name;
63 typedef struct bp_getfile_arg bp_getfile_arg;
65 struct bp_getfile_res {
66 bp_machine_name_t server_name;
67 bp_address server_address;
68 bp_path_t server_path;
70 typedef struct bp_getfile_res bp_getfile_res;
72 #define BOOTPARAMPROG ((unsigned long)(100026))
73 #define BOOTPARAMVERS ((unsigned long)(1))
75 extern void bootparamprog_1(struct svc_req *rqstp, SVCXPRT *transp);
76 #define BOOTPARAMPROC_WHOAMI ((unsigned long)(1))
77 extern bp_whoami_res * bootparamproc_whoami_1(bp_whoami_arg *, CLIENT *);
78 extern bp_whoami_res * bootparamproc_whoami_1_svc(bp_whoami_arg *, struct svc_req *);
79 #define BOOTPARAMPROC_GETFILE ((unsigned long)(2))
80 extern bp_getfile_res * bootparamproc_getfile_1(bp_getfile_arg *, CLIENT *);
81 extern bp_getfile_res * bootparamproc_getfile_1_svc(bp_getfile_arg *, struct svc_req *);
82 extern int bootparamprog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
84 /* the xdr functions */
85 extern bool_t xdr_bp_machine_name_t(XDR *, bp_machine_name_t*);
86 extern bool_t xdr_bp_path_t(XDR *, bp_path_t*);
87 extern bool_t xdr_bp_fileid_t(XDR *, bp_fileid_t*);
88 extern bool_t xdr_ip_addr_t(XDR *, ip_addr_t*);
89 extern bool_t xdr_bp_address(XDR *, bp_address*);
90 extern bool_t xdr_bp_whoami_arg(XDR *, bp_whoami_arg*);
91 extern bool_t xdr_bp_whoami_res(XDR *, bp_whoami_res*);
92 extern bool_t xdr_bp_getfile_arg(XDR *, bp_getfile_arg*);
93 extern bool_t xdr_bp_getfile_res(XDR *, bp_getfile_res*);
99 #endif /* !_BOOTPARAM_PROT_H_RPCGEN */