0390987711758f2292ea15c9f54fb83c8f130a6c
[idzebra-moved-to-github.git] / include / rsbetween.h
1 /*
2  * Copyright (C) 1994-2002, Index Data
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss, Heikki Levanto
5  *
6  * $Id: rsbetween.h,v 1.4 2002-08-01 08:53:35 adam Exp $
7  *
8  * Result set that returns anything in between two things,
9  * typically start-tag, stuff, end-tag.
10  *
11  */
12
13 #ifndef RSET_BETWEEN_H
14 #define RSET_BETWEEN_H
15
16 #include <rset.h>
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 extern const struct rset_control *rset_kind_between;
23
24 typedef struct rset_between_parms
25 {
26     int     key_size;
27     RSET    rset_l; 
28     RSET    rset_m;
29     RSET    rset_r;
30     RSET    rset_attr;
31     int (*cmp)(const void *p1, const void *p2);
32     char* (*printer)(const void *p,char *buf); /* prints p into buf and returns buf */
33 } rset_between_parms;
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39 #endif