2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _PORTMAP_H_RPCGEN
7 #define _PORTMAP_H_RPCGEN
24 typedef struct mapping mapping;
35 typedef struct call_args call_args;
37 #define PMAP_PROGRAM 100000
40 #if defined(__STDC__) || defined(__cplusplus)
42 extern void * pmap_null_2(void *, CLIENT *);
43 extern void * pmap_null_2_svc(void *, struct svc_req *);
45 extern bool_t * pmap_set_2(mapping *, CLIENT *);
46 extern bool_t * pmap_set_2_svc(mapping *, struct svc_req *);
48 extern bool_t * pmap_unset_2(mapping *, CLIENT *);
49 extern bool_t * pmap_unset_2_svc(mapping *, struct svc_req *);
50 #define PMAP_GETPORT 3
51 extern u_int * pmap_getport_2(mapping *, CLIENT *);
52 extern u_int * pmap_getport_2_svc(mapping *, struct svc_req *);
53 extern int pmap_program_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
57 extern void * pmap_null_2();
58 extern void * pmap_null_2_svc();
60 extern bool_t * pmap_set_2();
61 extern bool_t * pmap_set_2_svc();
63 extern bool_t * pmap_unset_2();
64 extern bool_t * pmap_unset_2_svc();
65 #define PMAP_GETPORT 3
66 extern u_int * pmap_getport_2();
67 extern u_int * pmap_getport_2_svc();
68 extern int pmap_program_2_freeresult ();
71 /* the xdr functions */
73 #if defined(__STDC__) || defined(__cplusplus)
74 extern bool_t xdr_mapping (XDR *, mapping*);
75 extern bool_t xdr_call_args (XDR *, call_args*);
78 extern bool_t xdr_mapping ();
79 extern bool_t xdr_call_args ();
87 #endif /* !_PORTMAP_H_RPCGEN */