added bug number
[idzebra-moved-to-github.git] / include / idzebra / flock.h
index 3cd5de6..375de8e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: flock.h,v 1.1 2006-03-23 09:15:24 adam Exp $
+/* $Id: flock.h,v 1.4 2006-06-27 11:56:28 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -27,16 +27,35 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
 YAZ_BEGIN_CDECL
 
-typedef struct zebra_lock_info *ZebraLockHandle;
+typedef struct zebra_lock_handle *ZebraLockHandle;
 
+YAZ_EXPORT
 ZebraLockHandle zebra_lock_create(const char *dir, const char *file);
+
+YAZ_EXPORT
 void zebra_lock_destroy (ZebraLockHandle h);
+
+YAZ_EXPORT
 int zebra_unlock (ZebraLockHandle h);
+YAZ_EXPORT
 char *zebra_mk_fname (const char *dir, const char *name);
 
+YAZ_EXPORT
 int zebra_lock_w (ZebraLockHandle h);
+YAZ_EXPORT
 int zebra_lock_r (ZebraLockHandle h);
 
+YAZ_EXPORT 
+void zebra_flock_init(void);
+
 YAZ_END_CDECL
 
 #endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+