1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 1998
5  *	Sleepycat Software.  All rights reserved.
6  *
7  *	@(#)db_join.h	10.2 (Sleepycat) 10/4/98
8  */
9 
10 #ifndef _DB_JOIN_H
11 #define _DB_JOIN_H
12 /*
13  * Joins use a join cursor that is similar to a regular DB cursor except
14  * that it only supports c_get and c_close functionality.  Also, it does
15  * not support the full range of flags for get.
16  */
17 typedef struct __join_cursor {
18 	u_int32_t j_init;		/* Set when cursor is initialized. */
19 	DBC 	**j_curslist;		/* Array of cursors in the join. */
20 	DB	 *j_primary;		/* Primary dbp. */
21 	DBT	  j_key;		/* Used to do lookups. */
22 } JOIN_CURSOR;
23 #endif
24