-/* $Id: flock.h,v 1.1 2006-03-23 09:15:24 adam Exp $
+/* $Id: flock.h,v 1.3 2006-05-10 08:13:20 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
typedef struct zebra_lock_info *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_END_CDECL
#endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+