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
16 #include <rpc/types.h>
18 #include <sys/errno.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 100026
73 #define BOOTPARAMVERS 1
75 #if defined(__STDC__) || defined(__cplusplus)
76 #define BOOTPARAMPROC_WHOAMI 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 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);
85 #define BOOTPARAMPROC_WHOAMI 1
86 extern bp_whoami_res * bootparamproc_whoami_1();
87 extern bp_whoami_res * bootparamproc_whoami_1_svc();
88 #define BOOTPARAMPROC_GETFILE 2
89 extern bp_getfile_res * bootparamproc_getfile_1();
90 extern bp_getfile_res * bootparamproc_getfile_1_svc();
91 extern int bootparamprog_1_freeresult ();
94 /* the xdr functions */
96 #if defined(__STDC__) || defined(__cplusplus)
97 extern bool_t xdr_bp_machine_name_t (XDR *, bp_machine_name_t*);
98 extern bool_t xdr_bp_path_t (XDR *, bp_path_t*);
99 extern bool_t xdr_bp_fileid_t (XDR *, bp_fileid_t*);
100 extern bool_t xdr_ip_addr_t (XDR *, ip_addr_t*);
101 extern bool_t xdr_bp_address (XDR *, bp_address*);
102 extern bool_t xdr_bp_whoami_arg (XDR *, bp_whoami_arg*);
103 extern bool_t xdr_bp_whoami_res (XDR *, bp_whoami_res*);
104 extern bool_t xdr_bp_getfile_arg (XDR *, bp_getfile_arg*);
105 extern bool_t xdr_bp_getfile_res (XDR *, bp_getfile_res*);
108 extern bool_t xdr_bp_machine_name_t ();
109 extern bool_t xdr_bp_path_t ();
110 extern bool_t xdr_bp_fileid_t ();
111 extern bool_t xdr_ip_addr_t ();
112 extern bool_t xdr_bp_address ();
113 extern bool_t xdr_bp_whoami_arg ();
114 extern bool_t xdr_bp_whoami_res ();
115 extern bool_t xdr_bp_getfile_arg ();
116 extern bool_t xdr_bp_getfile_res ();
124 #endif /* !_BOOTPARAM_PROT_H_RPCGEN */