1 /*
2  * Please do not edit this file.
3  * It was generated using rpcgen.
4  */
5 
6 #ifndef _DB_QUERY_C_H_RPCGEN
7 #define	_DB_QUERY_C_H_RPCGEN
8 
9 #include <rpc/rpc.h>
10 #pragma ident	"%Z%%M%	%I%	%E% SMI"
11 #ifndef _DB_QUERY_H
12 #define _DB_QUERY_H
13 
14 /* db_query is the structure that contains the components of a query.
15    It contains the values for searching the indices. */
16 
17 #include "db_item_c.h"
18 #include "db_entry_c.h"
19 #include "db_scheme_c.h"
20 /* A component of a query */
21 
22 struct db_qcomp {
23 	int which_index;
24 	item *index_value;
25 };
26 typedef struct db_qcomp db_qcomp;
27 
28 struct db_query {
29 	struct {
30 		u_int components_len;
31 		db_qcomp *components_val;
32 	} components;
33 };
34 typedef struct db_query db_query;
35 #endif /* _DB_QUERY_H */
36 
37 /* the xdr functions */
38 extern bool_t xdr_db_qcomp();
39 extern bool_t xdr_db_query();
40 
41 #endif /* !_DB_QUERY_C_H_RPCGEN */
42