1 /* Licensed under GPLv3+ - see LICENSE file for details */
3 * Please do not edit this file.
4 * It was generated using rpcgen.
7 #ifndef _PORTMAP_H_RPCGEN
8 #define _PORTMAP_H_RPCGEN
25 typedef struct mapping mapping;
36 typedef struct call_args call_args;
38 #define PMAP_PROGRAM 100000
41 #if defined(__STDC__) || defined(__cplusplus)
43 extern void * pmap_null_2(void *, CLIENT *);
44 extern void * pmap_null_2_svc(void *, struct svc_req *);
46 extern bool_t * pmap_set_2(mapping *, CLIENT *);
47 extern bool_t * pmap_set_2_svc(mapping *, struct svc_req *);
49 extern bool_t * pmap_unset_2(mapping *, CLIENT *);
50 extern bool_t * pmap_unset_2_svc(mapping *, struct svc_req *);
51 #define PMAP_GETPORT 3
52 extern u_int * pmap_getport_2(mapping *, CLIENT *);
53 extern u_int * pmap_getport_2_svc(mapping *, struct svc_req *);
54 extern int pmap_program_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
58 extern void * pmap_null_2();
59 extern void * pmap_null_2_svc();
61 extern bool_t * pmap_set_2();
62 extern bool_t * pmap_set_2_svc();
64 extern bool_t * pmap_unset_2();
65 extern bool_t * pmap_unset_2_svc();
66 #define PMAP_GETPORT 3
67 extern u_int * pmap_getport_2();
68 extern u_int * pmap_getport_2_svc();
69 extern int pmap_program_2_freeresult ();
72 /* the xdr functions */
74 #if defined(__STDC__) || defined(__cplusplus)
75 extern bool_t xdr_mapping (XDR *, mapping*);
76 extern bool_t xdr_call_args (XDR *, call_args*);
79 extern bool_t xdr_mapping ();
80 extern bool_t xdr_call_args ();
88 #endif /* !_PORTMAP_H_RPCGEN */