aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/ibex.h
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-03-28 08:39:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-03-28 08:39:36 +0800
commit03bcc319cfa2f92e86da72d0bd9f6040f4800aa0 (patch)
treeb7d65a7a51f8261228c4e9cb31eb1b10014c2779 /libibex/ibex.h
parent9eec5a12db8b2e53fc1e346478e320fd6efb2a70 (diff)
downloadgsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.gz
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.bz2
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.lz
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.xz
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.zst
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.zip
Fixed call to ibex_open.
2000-03-26 NotZed <NotZed@HelixCode.com> * lookup.c (main): Fixed call to ibex_open. * mkindex.c (main): Fixed call to ibex_open. * file.c (ibex_open): Changed to accept flags and mode equivalent to open(2). svn path=/trunk/; revision=2202
Diffstat (limited to 'libibex/ibex.h')
-rw-r--r--libibex/ibex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libibex/ibex.h b/libibex/ibex.h
index b74db1ed93..bb818e6d34 100644
--- a/libibex/ibex.h
+++ b/libibex/ibex.h
@@ -22,6 +22,8 @@
#define IBEX_H
#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#include <glib.h>
struct ibex;
@@ -34,7 +36,7 @@ typedef struct ibex ibex;
/* Open the named ibex index file. If CREATE is true, create the file
* if it doesn't already exist.
*/
-ibex *ibex_open (char *file, gboolean create);
+ibex *ibex_open (char *file, int flags, int mode);
/* Write the ibex to disk. */
int ibex_write (ibex *ib);