/* * Please do not edit this file. * It was generated using rpcgen. */ #ifndef _FS_H_RPCGEN #define _FS_H_RPCGEN #include #ifdef __cplusplus extern "C" { #endif #define MAX_FILENAME_SIZE 255 #define MAX_BLOCK_SIZE 8192 struct fs_get_ret_t { int status; struct { u_int buffer_len; char *buffer_val; } buffer; }; typedef struct fs_get_ret_t fs_get_ret_t; struct fs_get_param_t { long offset; long count; char *name; }; typedef struct fs_get_param_t fs_get_param_t; struct fs_list_t { int status; long offset; char *name; }; typedef struct fs_list_t fs_list_t; #define FSPROG 0x20000001 #define FSVERS 1 #if defined(__STDC__) || defined(__cplusplus) #define CRED 1 extern char ** cred_1(void *, CLIENT *); extern char ** cred_1_svc(void *, struct svc_req *); #define GET 2 extern fs_get_ret_t * get_1(fs_get_param_t *, CLIENT *); extern fs_get_ret_t * get_1_svc(fs_get_param_t *, struct svc_req *); #define LIST 3 extern fs_list_t * list_1(fs_list_t *, CLIENT *); extern fs_list_t * list_1_svc(fs_list_t *, struct svc_req *); #define EXIST 4 extern int * exist_1(char **, CLIENT *); extern int * exist_1_svc(char **, struct svc_req *); extern int fsprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t); #else /* K&R C */ #define CRED 1 extern char ** cred_1(); extern char ** cred_1_svc(); #define GET 2 extern fs_get_ret_t * get_1(); extern fs_get_ret_t * get_1_svc(); #define LIST 3 extern fs_list_t * list_1(); extern fs_list_t * list_1_svc(); #define EXIST 4 extern int * exist_1(); extern int * exist_1_svc(); extern int fsprog_1_freeresult (); #endif /* K&R C */ /* the xdr functions */ #if defined(__STDC__) || defined(__cplusplus) extern bool_t xdr_fs_get_ret_t (XDR *, fs_get_ret_t*); extern bool_t xdr_fs_get_param_t (XDR *, fs_get_param_t*); extern bool_t xdr_fs_list_t (XDR *, fs_list_t*); #else /* K&R C */ extern bool_t xdr_fs_get_ret_t (); extern bool_t xdr_fs_get_param_t (); extern bool_t xdr_fs_list_t (); #endif /* K&R C */ #ifdef __cplusplus } #endif #endif /* !_FS_H_RPCGEN */