X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fidzebra%2Frecgrs.h;h=5a17ad17fd6b44cd15d4e653eec8e28aa2849be9;hb=4f71537a478fc551989245f0dde38997714eedc1;hp=2e0b3a37ba806e40da6587ca2aadf879247861af;hpb=6c9fcd3b5d3108702fa1ffc92dab4ab6060f9a19;p=idzebra-moved-to-github.git diff --git a/include/idzebra/recgrs.h b/include/idzebra/recgrs.h index 2e0b3a3..5a17ad1 100644 --- a/include/idzebra/recgrs.h +++ b/include/idzebra/recgrs.h @@ -1,8 +1,5 @@ -/* $Id: recgrs.h,v 1.3 2005-01-15 19:38:24 adam Exp $ - Copyright (C) 1995-2005 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -15,9 +12,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 RECGRS_H @@ -28,13 +25,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA YAZ_BEGIN_CDECL struct grs_read_info { + struct ZebraRecStream *stream; void *clientData; - int (*readf)(void *, char *, size_t); - off_t (*seekf)(void *, off_t); - off_t (*tellf)(void *); - void (*endf)(void *, off_t); - void *fh; - off_t offset; NMEM mem; data1_handle dh; }; @@ -54,3 +46,12 @@ int grs_extract_tree(struct recExtractCtrl *p, data1_node *n); YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +