X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Fcfile.h;h=e0f9567319d843519ff20a06198dff0ea324f25e;hb=6277df6076edfef81e676d4aab7bd1f212bf739f;hp=c6b6ba607e0fe2bd3c98a30395b656fff3b6aeed;hpb=4478d785b7769691261005c98063b98a5a5971b3;p=idzebra-moved-to-github.git diff --git a/bfile/cfile.h b/bfile/cfile.h index c6b6ba6..e0f9567 100644 --- a/bfile/cfile.h +++ b/bfile/cfile.h @@ -1,8 +1,5 @@ -/* $Id: cfile.h,v 1.19 2006-08-14 10:40:05 adam Exp $ - Copyright (C) 1995-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 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 @@ -80,8 +77,7 @@ CFile cf_open (MFile mf, MFile_area area, const char *fname, int block_size, int wflag, int *firstp); int cf_read (CFile cf, zint no, int offset, int nbytes, void *buf); int cf_write (CFile cf, zint no, int offset, int nbytes, const void *buf); -void cf_unlink (CFile cf); -void cf_commit (CFile cf); +int cf_commit (CFile cf) ZEBRA_GCC_ATTR((warn_unused_result)); YAZ_END_CDECL