2 * Please do not edit this file.
3 * It was generated using rpcgen.
7 #ifndef _SM_INTER_H_RPCGEN
8 #define _SM_INTER_H_RPCGEN
16 #define SM_MAXSTRLEN 1024
21 typedef struct sm_name sm_name;
29 typedef struct my_id my_id;
35 typedef struct mon_id mon_id;
41 typedef struct mon mon;
47 typedef struct stat_chge stat_chge;
52 typedef struct sm_stat sm_stat;
58 typedef enum sm_res sm_res;
64 typedef struct sm_stat_res sm_stat_res;
71 typedef struct sm_status sm_status;
73 #define SM_PROG ((unsigned long)(100024))
74 #define SM_VERS ((unsigned long)(1))
76 extern void sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
77 #define SM_STAT ((unsigned long)(1))
78 extern struct sm_stat_res * sm_stat_1(struct sm_name *, CLIENT *);
79 extern struct sm_stat_res * sm_stat_1_svc(struct sm_name *, struct svc_req *);
80 #define SM_MON ((unsigned long)(2))
81 extern struct sm_stat_res * sm_mon_1(struct mon *, CLIENT *);
82 extern struct sm_stat_res * sm_mon_1_svc(struct mon *, struct svc_req *);
83 #define SM_UNMON ((unsigned long)(3))
84 extern struct sm_stat * sm_unmon_1(struct mon_id *, CLIENT *);
85 extern struct sm_stat * sm_unmon_1_svc(struct mon_id *, struct svc_req *);
86 #define SM_UNMON_ALL ((unsigned long)(4))
87 extern struct sm_stat * sm_unmon_all_1(struct my_id *, CLIENT *);
88 extern struct sm_stat * sm_unmon_all_1_svc(struct my_id *, struct svc_req *);
89 #define SM_SIMU_CRASH ((unsigned long)(5))
90 extern void * sm_simu_crash_1(void *, CLIENT *);
91 extern void * sm_simu_crash_1_svc(void *, struct svc_req *);
92 #define SM_NOTIFY ((unsigned long)(6))
93 extern void * sm_notify_1(struct stat_chge *, CLIENT *);
94 extern void * sm_notify_1_svc(struct stat_chge *, struct svc_req *);
95 extern int sm_prog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
97 /* the xdr functions */
98 extern bool_t xdr_sm_name(XDR *, sm_name*);
99 extern bool_t xdr_my_id(XDR *, my_id*);
100 extern bool_t xdr_mon_id(XDR *, mon_id*);
101 extern bool_t xdr_mon(XDR *, mon*);
102 extern bool_t xdr_stat_chge(XDR *, stat_chge*);
103 extern bool_t xdr_sm_stat(XDR *, sm_stat*);
104 extern bool_t xdr_sm_res(XDR *, sm_res*);
105 extern bool_t xdr_sm_stat_res(XDR *, sm_stat_res*);
106 extern bool_t xdr_sm_status(XDR *, sm_status*);
112 #endif /* !_SM_INTER_H_RPCGEN */