original files of m241
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Please do not edit this file.
|
||||
* It was generated using rpcgen.
|
||||
*/
|
||||
|
||||
#ifndef _XDR_MNT1_H_RPCGEN
|
||||
#define _XDR_MNT1_H_RPCGEN
|
||||
|
||||
#include <rpc/rpc.h>
|
||||
#include <nfs/xdr_mnt_common.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define FHSIZE 32
|
||||
|
||||
typedef char fhandle[FHSIZE];
|
||||
|
||||
struct fhstatus {
|
||||
u_int fhs_status;
|
||||
union {
|
||||
fhandle fhs_fhandle;
|
||||
} fhstatus_u;
|
||||
};
|
||||
typedef struct fhstatus fhstatus;
|
||||
|
||||
#define MOUNT_V1 1
|
||||
|
||||
/*
|
||||
* MOUNT V1 procedure prototype declaration. The definitions of
|
||||
* procedure numbers are available in xdr_mnt_common.h file
|
||||
*/
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
|
||||
extern void * mountproc_null_1(void);
|
||||
extern fhstatus * mountproc_mnt_1(dirpath *, struct svc_req *);
|
||||
extern mountlist * mountproc_dump_1(void);
|
||||
extern void * mountproc_umnt_1 (dirpath *, struct svc_req *);
|
||||
extern void * mountproc_umntall_1(char *, struct svc_req *);
|
||||
extern exports * mountproc_export_1(void);
|
||||
extern int mountprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
|
||||
|
||||
#else /* __STDC__ */
|
||||
|
||||
extern void * mountproc_null_1();
|
||||
extern fhstatus * mountproc_mnt_1();
|
||||
extern mountlist * mountproc_dump_1();
|
||||
extern void * mountproc_umnt_1();
|
||||
extern void * mountproc_umntall_1();
|
||||
extern exports * mountproc_export_1();
|
||||
extern int mountprog_1_freeresult();
|
||||
|
||||
#endif /* __STDC__ */
|
||||
|
||||
/* the xdr functions */
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
|
||||
extern bool_t xdr_fhandle (XDR *, fhandle);
|
||||
extern bool_t xdr_fhstatus (XDR *, fhstatus*);
|
||||
|
||||
#else /* __STDC__ */
|
||||
|
||||
extern bool_t xdr_fhandle();
|
||||
extern bool_t xdr_fhstatus();
|
||||
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !_XDR_MNT1_H_RPCGEN */
|
||||
Reference in New Issue
Block a user