2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _NIS_CACHE2_H_RPCGEN
7 #define _NIS_CACHE2_H_RPCGEN
11 #include <rpcsvc/nis.h>
23 typedef struct fs_result fs_result
;
25 extern "C" bool_t
xdr_fs_result(XDR
*, fs_result
*);
27 extern bool_t
xdr_fs_result(XDR
*, fs_result
*);
28 #else /* Old Style C */
29 bool_t
xdr_fs_result();
30 #endif /* Old Style C */
37 typedef struct fs_request fs_request
;
39 extern "C" bool_t
xdr_fs_request(XDR
*, fs_request
*);
41 extern bool_t
xdr_fs_request(XDR
*, fs_request
*);
42 #else /* Old Style C */
43 bool_t
xdr_fs_request();
44 #endif /* Old Style C */
47 #define CACHEPROG ((u_long)600100301)
48 #define CACHE_VER_1 ((u_long)1)
51 #define NIS_CACHE_READ_COLDSTART ((u_long)1)
52 extern "C" void * nis_cache_read_coldstart_1(void *, CLIENT
*);
53 extern "C" void * nis_cache_read_coldstart_1_svc(void *, struct svc_req
*);
54 #define NIS_CACHE_FIND_MASTER ((u_long)2)
55 extern "C" fs_result
* nis_cache_find_master_1(char **, CLIENT
*);
56 extern "C" fs_result
* nis_cache_find_master_1_svc(char **, struct svc_req
*);
57 #define NIS_CACHE_FIND_SERVER ((u_long)3)
58 extern "C" fs_result
* nis_cache_find_server_1(char **, CLIENT
*);
59 extern "C" fs_result
* nis_cache_find_server_1_svc(char **, struct svc_req
*);
60 #define NIS_CACHE_NEXT_SERVER ((u_long)4)
61 extern "C" fs_result
* nis_cache_next_server_1(fs_request
*, CLIENT
*);
62 extern "C" fs_result
* nis_cache_next_server_1_svc(fs_request
*, struct svc_req
*);
65 #define NIS_CACHE_READ_COLDSTART ((u_long)1)
66 extern void * nis_cache_read_coldstart_1(void *, CLIENT
*);
67 extern void * nis_cache_read_coldstart_1_svc(void *, struct svc_req
*);
68 #define NIS_CACHE_FIND_MASTER ((u_long)2)
69 extern fs_result
* nis_cache_find_master_1(char **, CLIENT
*);
70 extern fs_result
* nis_cache_find_master_1_svc(char **, struct svc_req
*);
71 #define NIS_CACHE_FIND_SERVER ((u_long)3)
72 extern fs_result
* nis_cache_find_server_1(char **, CLIENT
*);
73 extern fs_result
* nis_cache_find_server_1_svc(char **, struct svc_req
*);
74 #define NIS_CACHE_NEXT_SERVER ((u_long)4)
75 extern fs_result
* nis_cache_next_server_1(fs_request
*, CLIENT
*);
76 extern fs_result
* nis_cache_next_server_1_svc(fs_request
*, struct svc_req
*);
78 #else /* Old Style C */
79 #define NIS_CACHE_READ_COLDSTART ((u_long)1)
80 extern void * nis_cache_read_coldstart_1();
81 extern void * nis_cache_read_coldstart_1_svc();
82 #define NIS_CACHE_FIND_MASTER ((u_long)2)
83 extern fs_result
* nis_cache_find_master_1();
84 extern fs_result
* nis_cache_find_master_1_svc();
85 #define NIS_CACHE_FIND_SERVER ((u_long)3)
86 extern fs_result
* nis_cache_find_server_1();
87 extern fs_result
* nis_cache_find_server_1_svc();
88 #define NIS_CACHE_NEXT_SERVER ((u_long)4)
89 extern fs_result
* nis_cache_next_server_1();
90 extern fs_result
* nis_cache_next_server_1_svc();
91 #endif /* Old Style C */
93 #endif /* !_NIS_CACHE2_H_RPCGEN */