2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _MOUNT_PROT_H_RPCGEN
7 #define _MOUNT_PROT_H_RPCGEN
16 #define MNTPATHLEN 1024
25 typedef char *dirpath;
37 MNT3ERR_NAMETOOLONG = 63,
38 MNT3ERR_NOTSUPP = 10004,
39 MNT3ERR_SERVERFAULT = 10006,
41 typedef enum mountstat3 mountstat3;
46 u_int auth_flavors_len;
47 int *auth_flavors_val;
50 typedef struct mountres3_ok mountres3_ok;
53 mountstat3 fhs_status;
55 mountres3_ok mountinfo;
58 typedef struct mountres3 mountres3;
60 typedef struct mountbody *mountlist;
67 typedef struct mountbody mountbody;
69 typedef struct groupnode *groups;
75 typedef struct groupnode groupnode;
77 typedef struct exportnode *exports;
84 typedef struct exportnode exportnode;
86 #define MOUNT_PROGRAM 100005
89 #if defined(__STDC__) || defined(__cplusplus)
90 #define MOUNTPROC3_NULL 0
91 extern void * mountproc3_null_3(void *, CLIENT *);
92 extern void * mountproc3_null_3_svc(void *, struct svc_req *);
93 #define MOUNTPROC3_MNT 1
94 extern mountres3 * mountproc3_mnt_3(dirpath *, CLIENT *);
95 extern mountres3 * mountproc3_mnt_3_svc(dirpath *, struct svc_req *);
96 #define MOUNTPROC3_DUMP 2
97 extern mountlist * mountproc3_dump_3(void *, CLIENT *);
98 extern mountlist * mountproc3_dump_3_svc(void *, struct svc_req *);
99 #define MOUNTPROC3_UMNT 3
100 extern void * mountproc3_umnt_3(dirpath *, CLIENT *);
101 extern void * mountproc3_umnt_3_svc(dirpath *, struct svc_req *);
102 #define MOUNTPROC3_UMNTALL 4
103 extern void * mountproc3_umntall_3(void *, CLIENT *);
104 extern void * mountproc3_umntall_3_svc(void *, struct svc_req *);
105 #define MOUNTPROC3_EXPORT 5
106 extern exports * mountproc3_export_3(void *, CLIENT *);
107 extern exports * mountproc3_export_3_svc(void *, struct svc_req *);
108 extern int mount_program_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
111 #define MOUNTPROC3_NULL 0
112 extern void * mountproc3_null_3();
113 extern void * mountproc3_null_3_svc();
114 #define MOUNTPROC3_MNT 1
115 extern mountres3 * mountproc3_mnt_3();
116 extern mountres3 * mountproc3_mnt_3_svc();
117 #define MOUNTPROC3_DUMP 2
118 extern mountlist * mountproc3_dump_3();
119 extern mountlist * mountproc3_dump_3_svc();
120 #define MOUNTPROC3_UMNT 3
121 extern void * mountproc3_umnt_3();
122 extern void * mountproc3_umnt_3_svc();
123 #define MOUNTPROC3_UMNTALL 4
124 extern void * mountproc3_umntall_3();
125 extern void * mountproc3_umntall_3_svc();
126 #define MOUNTPROC3_EXPORT 5
127 extern exports * mountproc3_export_3();
128 extern exports * mountproc3_export_3_svc();
129 extern int mount_program_3_freeresult ();
132 /* the xdr functions */
134 #if defined(__STDC__) || defined(__cplusplus)
135 extern bool_t xdr_fhandle3 (XDR *, fhandle3*);
136 extern bool_t xdr_dirpath (XDR *, dirpath*);
137 extern bool_t xdr_name (XDR *, name*);
138 extern bool_t xdr_mountstat3 (XDR *, mountstat3*);
139 extern bool_t xdr_mountres3_ok (XDR *, mountres3_ok*);
140 extern bool_t xdr_mountres3 (XDR *, mountres3*);
141 extern bool_t xdr_mountlist (XDR *, mountlist*);
142 extern bool_t xdr_mountbody (XDR *, mountbody*);
143 extern bool_t xdr_groups (XDR *, groups*);
144 extern bool_t xdr_groupnode (XDR *, groupnode*);
145 extern bool_t xdr_exports (XDR *, exports*);
146 extern bool_t xdr_exportnode (XDR *, exportnode*);
149 extern bool_t xdr_fhandle3 ();
150 extern bool_t xdr_dirpath ();
151 extern bool_t xdr_name ();
152 extern bool_t xdr_mountstat3 ();
153 extern bool_t xdr_mountres3_ok ();
154 extern bool_t xdr_mountres3 ();
155 extern bool_t xdr_mountlist ();
156 extern bool_t xdr_mountbody ();
157 extern bool_t xdr_groups ();
158 extern bool_t xdr_groupnode ();
159 extern bool_t xdr_exports ();
160 extern bool_t xdr_exportnode ();
168 #endif /* !_MOUNT_PROT_H_RPCGEN */