home *** CD-ROM | disk | FTP | other *** search
- /*
- * Please do not edit this file.
- * It was generated using rpcgen.
- */
-
- #ifndef _NIS_CALLBACK_H_RPCGEN
- #define _NIS_CALLBACK_H_RPCGEN
-
- #include <rpc/rpc.h>
-
- #pragma ident "@(#)nis_callback.x 1.4 92/07/14 SMI"
- #include <rpcsvc/nis.h>
-
- typedef nis_object *obj_p;
- #ifdef __cplusplus
- extern "C" bool_t xdr_obj_p(XDR *, obj_p*);
- #elif __STDC__
- extern bool_t xdr_obj_p(XDR *, obj_p*);
- #else /* Old Style C */
- bool_t xdr_obj_p();
- #endif /* Old Style C */
-
-
- struct cback_data {
- struct {
- u_int entries_len;
- obj_p *entries_val;
- } entries;
- };
- typedef struct cback_data cback_data;
- #ifdef __cplusplus
- extern "C" bool_t xdr_cback_data(XDR *, cback_data*);
- #elif __STDC__
- extern bool_t xdr_cback_data(XDR *, cback_data*);
- #else /* Old Style C */
- bool_t xdr_cback_data();
- #endif /* Old Style C */
-
-
- #define CB_PROG ((u_long)100302)
- #define CB_VERS ((u_long)1)
-
- #ifdef __cplusplus
- #define CBPROC_RECEIVE ((u_long)1)
- extern "C" bool_t * cbproc_receive_1(cback_data *, CLIENT *);
- extern "C" bool_t * cbproc_receive_1_svc(cback_data *, struct svc_req *);
- #define CBPROC_FINISH ((u_long)2)
- extern "C" void * cbproc_finish_1(void *, CLIENT *);
- extern "C" void * cbproc_finish_1_svc(void *, struct svc_req *);
- #define CBPROC_ERROR ((u_long)3)
- extern "C" void * cbproc_error_1(nis_error *, CLIENT *);
- extern "C" void * cbproc_error_1_svc(nis_error *, struct svc_req *);
-
- #elif __STDC__
- #define CBPROC_RECEIVE ((u_long)1)
- extern bool_t * cbproc_receive_1(cback_data *, CLIENT *);
- extern bool_t * cbproc_receive_1_svc(cback_data *, struct svc_req *);
- #define CBPROC_FINISH ((u_long)2)
- extern void * cbproc_finish_1(void *, CLIENT *);
- extern void * cbproc_finish_1_svc(void *, struct svc_req *);
- #define CBPROC_ERROR ((u_long)3)
- extern void * cbproc_error_1(nis_error *, CLIENT *);
- extern void * cbproc_error_1_svc(nis_error *, struct svc_req *);
-
- #else /* Old Style C */
- #define CBPROC_RECEIVE ((u_long)1)
- extern bool_t * cbproc_receive_1();
- extern bool_t * cbproc_receive_1_svc();
- #define CBPROC_FINISH ((u_long)2)
- extern void * cbproc_finish_1();
- extern void * cbproc_finish_1_svc();
- #define CBPROC_ERROR ((u_long)3)
- extern void * cbproc_error_1();
- extern void * cbproc_error_1_svc();
- #endif /* Old Style C */
-
- #endif /* !_NIS_CALLBACK_H_RPCGEN */
-