PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /usr/include/rpcsvc/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //usr/include/rpcsvc/nlm_prot.h |
/* * Please do not edit this file. * It was generated using rpcgen. */ #ifndef _NLM_PROT_H_RPCGEN #define _NLM_PROT_H_RPCGEN #include <rpc/rpc.h> #ifdef __cplusplus extern "C" { #endif #define LM_MAXSTRLEN 1024 #define MAXNAMELEN LM_MAXSTRLEN+1 enum nlm_stats { nlm_granted = 0, nlm_denied = 1, nlm_denied_nolocks = 2, nlm_blocked = 3, nlm_denied_grace_period = 4, }; typedef enum nlm_stats nlm_stats; struct nlm_holder { bool_t exclusive; int svid; netobj oh; u_int l_offset; u_int l_len; }; typedef struct nlm_holder nlm_holder; struct nlm_testrply { nlm_stats stat; union { struct nlm_holder holder; } nlm_testrply_u; }; typedef struct nlm_testrply nlm_testrply; struct nlm_stat { nlm_stats stat; }; typedef struct nlm_stat nlm_stat; struct nlm_res { netobj cookie; nlm_stat stat; }; typedef struct nlm_res nlm_res; struct nlm_testres { netobj cookie; nlm_testrply stat; }; typedef struct nlm_testres nlm_testres; struct nlm_lock { char *caller_name; netobj fh; netobj oh; int svid; u_int l_offset; u_int l_len; }; typedef struct nlm_lock nlm_lock; struct nlm_lockargs { netobj cookie; bool_t block; bool_t exclusive; struct nlm_lock alock; bool_t reclaim; int state; }; typedef struct nlm_lockargs nlm_lockargs; struct nlm_cancargs { netobj cookie; bool_t block; bool_t exclusive; struct nlm_lock alock; }; typedef struct nlm_cancargs nlm_cancargs; struct nlm_testargs { netobj cookie; bool_t exclusive; struct nlm_lock alock; }; typedef struct nlm_testargs nlm_testargs; struct nlm_unlockargs { netobj cookie; struct nlm_lock alock; }; typedef struct nlm_unlockargs nlm_unlockargs; /* * The following enums are actually bit encoded for efficient * boolean algebra.... DON'T change them..... */ enum fsh_mode { fsm_DN = 0, fsm_DR = 1, fsm_DW = 2, fsm_DRW = 3, }; typedef enum fsh_mode fsh_mode; enum fsh_access { fsa_NONE = 0, fsa_R = 1, fsa_W = 2, fsa_RW = 3, }; typedef enum fsh_access fsh_access; struct nlm_share { char *caller_name; netobj fh; netobj oh; fsh_mode mode; fsh_access access; }; typedef struct nlm_share nlm_share; struct nlm_shareargs { netobj cookie; nlm_share share; bool_t reclaim; }; typedef struct nlm_shareargs nlm_shareargs; struct nlm_shareres { netobj cookie; nlm_stats stat; int sequence; }; typedef struct nlm_shareres nlm_shareres; struct nlm_notify { char *name; long state; }; typedef struct nlm_notify nlm_notify; #define NLM_PROG 100021 #define NLM_VERS 1 #if defined(__STDC__) || defined(__cplusplus) #define NLM_TEST 1 extern nlm_testres * nlm_test_1(struct nlm_testargs *, CLIENT *); extern nlm_testres * nlm_test_1_svc(struct nlm_testargs *, struct svc_req *); #define NLM_LOCK 2 extern nlm_res * nlm_lock_1(struct nlm_lockargs *, CLIENT *); extern nlm_res * nlm_lock_1_svc(struct nlm_lockargs *, struct svc_req *); #define NLM_CANCEL 3 extern nlm_res * nlm_cancel_1(struct nlm_cancargs *, CLIENT *); extern nlm_res * nlm_cancel_1_svc(struct nlm_cancargs *, struct svc_req *); #define NLM_UNLOCK 4 extern nlm_res * nlm_unlock_1(struct nlm_unlockargs *, CLIENT *); extern nlm_res * nlm_unlock_1_svc(struct nlm_unlockargs *, struct svc_req *); #define NLM_GRANTED 5 extern nlm_res * nlm_granted_1(struct nlm_testargs *, CLIENT *); extern nlm_res * nlm_granted_1_svc(struct nlm_testargs *, struct svc_req *); #define NLM_TEST_MSG 6 extern void * nlm_test_msg_1(struct nlm_testargs *, CLIENT *); extern void * nlm_test_msg_1_svc(struct nlm_testargs *, struct svc_req *); #define NLM_LOCK_MSG 7 extern void * nlm_lock_msg_1(struct nlm_lockargs *, CLIENT *); extern void * nlm_lock_msg_1_svc(struct nlm_lockargs *, struct svc_req *); #define NLM_CANCEL_MSG 8 extern void * nlm_cancel_msg_1(struct nlm_cancargs *, CLIENT *); extern void * nlm_cancel_msg_1_svc(struct nlm_cancargs *, struct svc_req *); #define NLM_UNLOCK_MSG 9 extern void * nlm_unlock_msg_1(struct nlm_unlockargs *, CLIENT *); extern void * nlm_unlock_msg_1_svc(struct nlm_unlockargs *, struct svc_req *); #define NLM_GRANTED_MSG 10 extern void * nlm_granted_msg_1(struct nlm_testargs *, CLIENT *); extern void * nlm_granted_msg_1_svc(struct nlm_testargs *, struct svc_req *); #define NLM_TEST_RES 11 extern void * nlm_test_res_1(nlm_testres *, CLIENT *); extern void * nlm_test_res_1_svc(nlm_testres *, struct svc_req *); #define NLM_LOCK_RES 12 extern void * nlm_lock_res_1(nlm_res *, CLIENT *); extern void * nlm_lock_res_1_svc(nlm_res *, struct svc_req *); #define NLM_CANCEL_RES 13 extern void * nlm_cancel_res_1(nlm_res *, CLIENT *); extern void * nlm_cancel_res_1_svc(nlm_res *, struct svc_req *); #define NLM_UNLOCK_RES 14 extern void * nlm_unlock_res_1(nlm_res *, CLIENT *); extern void * nlm_unlock_res_1_svc(nlm_res *, struct svc_req *); #define NLM_GRANTED_RES 15 extern void * nlm_granted_res_1(nlm_res *, CLIENT *); extern void * nlm_granted_res_1_svc(nlm_res *, struct svc_req *); extern int nlm_prog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t); #else /* K&R C */ #define NLM_TEST 1 extern nlm_testres * nlm_test_1(); extern nlm_testres * nlm_test_1_svc(); #define NLM_LOCK 2 extern nlm_res * nlm_lock_1(); extern nlm_res * nlm_lock_1_svc(); #define NLM_CANCEL 3 extern nlm_res * nlm_cancel_1(); extern nlm_res * nlm_cancel_1_svc(); #define NLM_UNLOCK 4 extern nlm_res * nlm_unlock_1(); extern nlm_res * nlm_unlock_1_svc(); #define NLM_GRANTED 5 extern nlm_res * nlm_granted_1(); extern nlm_res * nlm_granted_1_svc(); #define NLM_TEST_MSG 6 extern void * nlm_test_msg_1(); extern void * nlm_test_msg_1_svc(); #define NLM_LOCK_MSG 7 extern void * nlm_lock_msg_1(); extern void * nlm_lock_msg_1_svc(); #define NLM_CANCEL_MSG 8 extern void * nlm_cancel_msg_1(); extern void * nlm_cancel_msg_1_svc(); #define NLM_UNLOCK_MSG 9 extern void * nlm_unlock_msg_1(); extern void * nlm_unlock_msg_1_svc(); #define NLM_GRANTED_MSG 10 extern void * nlm_granted_msg_1(); extern void * nlm_granted_msg_1_svc(); #define NLM_TEST_RES 11 extern void * nlm_test_res_1(); extern void * nlm_test_res_1_svc(); #define NLM_LOCK_RES 12 extern void * nlm_lock_res_1(); extern void * nlm_lock_res_1_svc(); #define NLM_CANCEL_RES 13 extern void * nlm_cancel_res_1(); extern void * nlm_cancel_res_1_svc(); #define NLM_UNLOCK_RES 14 extern void * nlm_unlock_res_1(); extern void * nlm_unlock_res_1_svc(); #define NLM_GRANTED_RES 15 extern void * nlm_granted_res_1(); extern void * nlm_granted_res_1_svc(); extern int nlm_prog_1_freeresult (); #endif /* K&R C */ #define NLM_VERSX 3 #if defined(__STDC__) || defined(__cplusplus) #define NLM_SHARE 20 extern nlm_shareres * nlm_share_3(nlm_shareargs *, CLIENT *); extern nlm_shareres * nlm_share_3_svc(nlm_shareargs *, struct svc_req *); #define NLM_UNSHARE 21 extern nlm_shareres * nlm_unshare_3(nlm_shareargs *, CLIENT *); extern nlm_shareres * nlm_unshare_3_svc(nlm_shareargs *, struct svc_req *); #define NLM_NM_LOCK 22 extern nlm_res * nlm_nm_lock_3(nlm_lockargs *, CLIENT *); extern nlm_res * nlm_nm_lock_3_svc(nlm_lockargs *, struct svc_req *); #define NLM_FREE_ALL 23 extern void * nlm_free_all_3(nlm_notify *, CLIENT *); extern void * nlm_free_all_3_svc(nlm_notify *, struct svc_req *); extern int nlm_prog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t); #else /* K&R C */ #define NLM_SHARE 20 extern nlm_shareres * nlm_share_3(); extern nlm_shareres * nlm_share_3_svc(); #define NLM_UNSHARE 21 extern nlm_shareres * nlm_unshare_3(); extern nlm_shareres * nlm_unshare_3_svc(); #define NLM_NM_LOCK 22 extern nlm_res * nlm_nm_lock_3(); extern nlm_res * nlm_nm_lock_3_svc(); #define NLM_FREE_ALL 23 extern void * nlm_free_all_3(); extern void * nlm_free_all_3_svc(); extern int nlm_prog_3_freeresult (); #endif /* K&R C */ /* the xdr functions */ #if defined(__STDC__) || defined(__cplusplus) extern bool_t xdr_nlm_stats (XDR *, nlm_stats*); extern bool_t xdr_nlm_holder (XDR *, nlm_holder*); extern bool_t xdr_nlm_testrply (XDR *, nlm_testrply*); extern bool_t xdr_nlm_stat (XDR *, nlm_stat*); extern bool_t xdr_nlm_res (XDR *, nlm_res*); extern bool_t xdr_nlm_testres (XDR *, nlm_testres*); extern bool_t xdr_nlm_lock (XDR *, nlm_lock*); extern bool_t xdr_nlm_lockargs (XDR *, nlm_lockargs*); extern bool_t xdr_nlm_cancargs (XDR *, nlm_cancargs*); extern bool_t xdr_nlm_testargs (XDR *, nlm_testargs*); extern bool_t xdr_nlm_unlockargs (XDR *, nlm_unlockargs*); extern bool_t xdr_fsh_mode (XDR *, fsh_mode*); extern bool_t xdr_fsh_access (XDR *, fsh_access*); extern bool_t xdr_nlm_share (XDR *, nlm_share*); extern bool_t xdr_nlm_shareargs (XDR *, nlm_shareargs*); extern bool_t xdr_nlm_shareres (XDR *, nlm_shareres*); extern bool_t xdr_nlm_notify (XDR *, nlm_notify*); #else /* K&R C */ extern bool_t xdr_nlm_stats (); extern bool_t xdr_nlm_holder (); extern bool_t xdr_nlm_testrply (); extern bool_t xdr_nlm_stat (); extern bool_t xdr_nlm_res (); extern bool_t xdr_nlm_testres (); extern bool_t xdr_nlm_lock (); extern bool_t xdr_nlm_lockargs (); extern bool_t xdr_nlm_cancargs (); extern bool_t xdr_nlm_testargs (); extern bool_t xdr_nlm_unlockargs (); extern bool_t xdr_fsh_mode (); extern bool_t xdr_fsh_access (); extern bool_t xdr_nlm_share (); extern bool_t xdr_nlm_shareargs (); extern bool_t xdr_nlm_shareres (); extern bool_t xdr_nlm_notify (); #endif /* K&R C */ #ifdef __cplusplus } #endif #endif /* !_NLM_PROT_H_RPCGEN */