X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Frecctrl.h;h=4d18730e710b91444d6c54222205643ff4a72b3b;hp=4ad61578ff17f26ff2ce904dcf5c882ff0e62802;hb=4478d785b7769691261005c98063b98a5a5971b3;hpb=6ba9698e88c0283e40fa5980a1a6b551fff2d597 diff --git a/include/idzebra/recctrl.h b/include/idzebra/recctrl.h index 4ad6157..4d18730 100644 --- a/include/idzebra/recctrl.h +++ b/include/idzebra/recctrl.h @@ -1,4 +1,4 @@ -/* $Id: recctrl.h,v 1.20 2006-05-19 13:49:34 adam Exp $ +/* $Id: recctrl.h,v 1.26 2006-08-14 10:40:14 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #ifndef IDZEBRA_RECCTRL_H @@ -79,7 +79,7 @@ struct recExtractCtrl { int flagShowRecords; int seqno[256]; char match_criteria[256]; - int staticrank; + zint staticrank; void (*schemaAdd)(struct recExtractCtrl *p, Odr_oid *oid); data1_handle dh; void *handle; @@ -99,7 +99,7 @@ struct recRetrieveCtrl { char *encoding; /* preferred character encoding */ zint localno; /* local id of record */ int score; /* score 0-1000 or -1 if none */ - int staticrank; /* static rank >= 0, 0 if none */ + zint staticrank; /* static rank >= 0, 0 if none */ int recordSize; /* size of record in bytes */ char *fname; /* name of file (or NULL if internal) */ data1_handle dh; @@ -169,6 +169,8 @@ RecType recType_byName(RecTypes rts, Res res, const char *name, void **clientDataP); +#define KEY_SEGMENT_SIZE 1024 + YAZ_END_CDECL #endif