X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Frecindex.h;h=86bb465774d85b8dfb4efbfcd4d40c51424167f8;hb=c33ea56e3771c3b80ba66ef8fda3a09cad171ebb;hp=403795dc9d6870e32459c1866e9e77bf26a67c73;hpb=deff57cfa9d9b39c4a4f1c9b82a64c6e61d821a4;p=idzebra-moved-to-github.git diff --git a/index/recindex.h b/index/recindex.h index 403795d..86bb465 100644 --- a/index/recindex.h +++ b/index/recindex.h @@ -1,5 +1,5 @@ -/* $Id: recindex.h,v 1.24 2005-03-30 09:25:23 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: recindex.h,v 1.28 2006-08-14 10:40:15 adam Exp $ + Copyright (C) 1995-2006 Index Data ApS This file is part of the Zebra server. @@ -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 RECINDEX_H @@ -43,16 +43,19 @@ typedef struct record_info { typedef struct records_info *Records; -Record rec_cp (Record rec); -void rec_del (Records p, Record *recpp); -void rec_rm (Record *recpp); -void rec_put (Records p, Record *recpp); -Record rec_new (Records p); -Record rec_get (Records p, SYSNO sysno); -void rec_close (Records *p); -Records rec_open (BFiles bfs, int rw, int compression_method); -char *rec_strdup (const char *s, size_t *len); -void rec_prstat (Records p); +Record rec_cp(Record rec); +ZEBRA_RES rec_del(Records p, Record *recpp); +void rec_rm(Record *recpp); +ZEBRA_RES rec_put(Records p, Record *recpp); +Record rec_new(Records p); +Record rec_get(Records p, SYSNO sysno); +Record rec_get_root(Records p); +ZEBRA_RES rec_close (Records *p); +Records rec_open(BFiles bfs, int rw, int compression_method); +char *rec_strdup(const char *s, size_t *len); +void rec_prstat(Records p); + +SYSNO rec_sysno_to_int(SYSNO sysno); #define REC_COMPRESS_NONE 0 #define REC_COMPRESS_BZIP2 1 @@ -69,3 +72,11 @@ enum { YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +