1 /*
2  * Please do not edit this file.
3  * It was generated using rpcgen.
4  */
5 
6 #ifndef _DB_INDEX_C_H_RPCGEN
7 #define	_DB_INDEX_C_H_RPCGEN
8 
9 #include <rpc/rpc.h>
10 #ifndef _DB_INDEX_H
11 #define _DB_INDEX_H
12 
13 /* db_index is a hash table with separate overflow buckets. */
14 
15 #include "db_item_c.h"
16 #include "db_index_entry_c.h"
17 #include "db_table_c.h"
18 #include "db_scheme_c.h"
19 
20 #include "nisdb_rw.h"
21 
22 
23 struct db_index {
24 	struct {
25 		u_int tab_len;
26 		db_index_entry_p *tab_val;
27 	} tab;
28 	int count;
29 	bool_t case_insens;
30 	__nisdb_rwlock_t index_rwlock;
31 };
32 typedef struct db_index db_index;
33 
34 typedef db_index *db_index_p;
35 #endif /* _DB_INDEX_H */
36 
37 /* the xdr functions */
38 extern bool_t xdr_db_index();
39 extern bool_t xdr_db_index_p();
40 
41 #endif /* !_DB_INDEX_C_H_RPCGEN */
42