X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frstemp.h;h=4f621642f3a0dcbfca7a986a8af146e153bcf3fa;hb=694c50e2c266f90eeb265fa5612c65c94d84c2e4;hp=141d163867216d696bbb513c15f7a451c5e83dab;hpb=affd7e4168d70b94e015b777748b7eca1cd00ec0;p=idzebra-moved-to-github.git diff --git a/include/rstemp.h b/include/rstemp.h index 141d163..4f62164 100644 --- a/include/rstemp.h +++ b/include/rstemp.h @@ -1,10 +1,30 @@ /* - * Copyright (C) 1994, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: rstemp.h,v $ - * Revision 1.1 1994-11-04 13:21:23 quinn + * Revision 1.7 2002-03-20 20:24:29 adam + * Hits per term. Returned in SearchResult-1 + * + * Revision 1.6 1999/02/02 14:50:43 adam + * Updated WIN32 code specific sections. Changed header. + * + * Revision 1.5 1998/03/05 08:37:44 adam + * New result set model. + * + * Revision 1.4 1997/09/17 12:19:11 adam + * Zebra version corresponds to YAZ version 1.4. + * Changed Zebra server so that it doesn't depend on global common_resource. + * + * Revision 1.3 1997/09/05 15:30:05 adam + * Changed prototype for chr_map_input - added const. + * Added support for C++, headers uses extern "C" for public definitions. + * + * Revision 1.2 1995/09/04 15:20:13 adam + * More work on temp sets. is_open member removed. + * + * Revision 1.1 1994/11/04 13:21:23 quinn * Working. * */ @@ -14,6 +34,22 @@ #include -extern const rset_control *rset_kind_temp; +#ifdef __cplusplus +extern "C" { +#endif + +extern const struct rset_control *rset_kind_temp; + +typedef struct rset_temp_parms +{ + int (*cmp)(const void *p1, const void *p2); + int key_size; + char *temp_path; + RSET_TERM rset_term; +} rset_temp_parms; + +#ifdef __cplusplus +} +#endif #endif