8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / sendmail / db / include / db_join.h
blob609acf7d19f1eb57402d1612a55557751908e1e2
1 /*-
2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 1998
5 * Sleepycat Software. All rights reserved.
7 * @(#)db_join.h 10.2 (Sleepycat) 10/4/98
8 */
10 #pragma ident "%Z%%M% %I% %E% SMI"
12 #ifndef _DB_JOIN_H
13 #define _DB_JOIN_H
15 * Joins use a join cursor that is similar to a regular DB cursor except
16 * that it only supports c_get and c_close functionality. Also, it does
17 * not support the full range of flags for get.
19 typedef struct __join_cursor {
20 u_int32_t j_init; /* Set when cursor is initialized. */
21 DBC **j_curslist; /* Array of cursors in the join. */
22 DB *j_primary; /* Primary dbp. */
23 DBT j_key; /* Used to do lookups. */
24 } JOIN_CURSOR;
25 #endif