From ed8e267859a00233fee89a6b1b7fb3d74ceced96 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 28 Sep 2011 15:41:58 +0200 Subject: Add a flag parameter to dotlock_create. This allows us to extend this function in the future. --- common/dotlock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/dotlock.h') diff --git a/common/dotlock.h b/common/dotlock.h index 5fb7891fa..666d0b72c 100644 --- a/common/dotlock.h +++ b/common/dotlock.h @@ -26,8 +26,8 @@ struct dotlock_handle; typedef struct dotlock_handle *dotlock_t; void dotlock_disable (void); -dotlock_t dotlock_create (const char *file_to_lock); -void dotlock_destroy ( dotlock_t h ); +dotlock_t dotlock_create (const char *file_to_lock, unsigned int flags); +void dotlock_destroy (dotlock_t h); int dotlock_take (dotlock_t h, long timeout); int dotlock_release (dotlock_t h); void dotlock_remove_lockfiles (void); -- cgit v1.2.3