2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _PORTMAP_H_RPCGEN
7 #define _PORTMAP_H_RPCGEN
9 #include <nfsc/libnfs-zdr.h>
23 typedef struct pmap_mapping pmap_mapping
;
25 struct pmap_call_args
{
34 typedef struct pmap_call_args pmap_call_args
;
36 struct pmap_call_result
{
43 typedef struct pmap_call_result pmap_call_result
;
45 #define PMAP_PROGRAM 100000
48 #if defined(__STDC__) || defined(__cplusplus)
50 extern void * pmap_null_2(void *, CLIENT
*);
51 extern void * pmap_null_2_svc(void *, struct svc_req
*);
53 extern bool_t
* pmap_set_2(pmap_mapping
*, CLIENT
*);
54 extern bool_t
* pmap_set_2_svc(pmap_mapping
*, struct svc_req
*);
56 extern bool_t
* pmap_unset_2(pmap_mapping
*, CLIENT
*);
57 extern bool_t
* pmap_unset_2_svc(pmap_mapping
*, struct svc_req
*);
58 #define PMAP_GETPORT 3
59 extern u_int
* pmap_getport_2(pmap_mapping
*, CLIENT
*);
60 extern u_int
* pmap_getport_2_svc(pmap_mapping
*, struct svc_req
*);
62 extern pmap_call_result
* pmap_callit_2(pmap_call_args
*, CLIENT
*);
63 extern pmap_call_result
* pmap_callit_2_svc(pmap_call_args
*, struct svc_req
*);
64 extern int pmap_program_2_freeresult (SVCXPRT
*, zdrproc_t
, caddr_t
);
68 extern void * pmap_null_2();
69 extern void * pmap_null_2_svc();
71 extern bool_t
* pmap_set_2();
72 extern bool_t
* pmap_set_2_svc();
74 extern bool_t
* pmap_unset_2();
75 extern bool_t
* pmap_unset_2_svc();
76 #define PMAP_GETPORT 3
77 extern u_int
* pmap_getport_2();
78 extern u_int
* pmap_getport_2_svc();
80 extern pmap_call_result
* pmap_callit_2();
81 extern pmap_call_result
* pmap_callit_2_svc();
82 extern int pmap_program_2_freeresult ();
85 /* the zdr functions */
87 #if defined(__STDC__) || defined(__cplusplus)
88 extern bool_t
zdr_pmap_mapping (ZDR
*, pmap_mapping
*);
89 extern bool_t
zdr_pmap_call_args (ZDR
*, pmap_call_args
*);
90 extern bool_t
zdr_pmap_call_result (ZDR
*, pmap_call_result
*);
93 extern bool_t
zdr_pmap_mapping ();
94 extern bool_t
zdr_pmap_call_args ();
95 extern bool_t
zdr_pmap_call_result ();
103 #endif /* !_PORTMAP_H_RPCGEN */