X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frsbool.h;h=165a3f37331e8c4be1449c8772e53c3729579708;hb=4247c4670f5bc5ad61e458734a590d57be5a9f34;hp=e3285d27a6df3c6359f167caaa48c1be794309d6;hpb=6c836c5e8eff1e57360dd0a33197c91301277c2c;p=idzebra-moved-to-github.git diff --git a/include/rsbool.h b/include/rsbool.h index e3285d2..165a3f3 100644 --- a/include/rsbool.h +++ b/include/rsbool.h @@ -1,10 +1,17 @@ /* - * Copyright (C) 1994-1995, Index Data I/S + * Copyright (C) 1994-1998, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: rsbool.h,v $ - * Revision 1.4 1995-12-11 09:07:53 adam + * Revision 1.6 1998-03-05 08:37:44 adam + * New result set model. + * + * Revision 1.5 1997/09/05 15:30:02 adam + * Changed prototype for chr_map_input - added const. + * Added support for C++, headers uses extern "C" for public definitions. + * + * Revision 1.4 1995/12/11 09:07:53 adam * New rset member 'flag', that holds various flags about a result set - * currently 'volatile' (set is register dependent) and 'ranked' (set is * ranked). @@ -29,13 +36,13 @@ #include -extern const rset_control *rset_kind_and; -extern const rset_control *rset_kind_or; -extern const rset_control *rset_kind_not; +#ifdef __cplusplus +extern "C" { +#endif -extern const rset_control *rset_kind_sand; -extern const rset_control *rset_kind_sor; -extern const rset_control *rset_kind_snot; +extern const struct rset_control *rset_kind_and; +extern const struct rset_control *rset_kind_or; +extern const struct rset_control *rset_kind_not; typedef struct rset_bool_parms { @@ -45,4 +52,8 @@ typedef struct rset_bool_parms int (*cmp)(const void *p1, const void *p2); } rset_bool_parms; +#ifdef __cplusplus +} +#endif + #endif