From f61b5371c492b0685c179090372f35329e8a2028 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 29 Sep 2011 16:51:48 +0200 Subject: Add dotlock_get_fd and dotlock_set_fd. --- common/dotlock.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/dotlock.h') diff --git a/common/dotlock.h b/common/dotlock.h index 666d0b72c..6ae7836c5 100644 --- a/common/dotlock.h +++ b/common/dotlock.h @@ -27,6 +27,8 @@ typedef struct dotlock_handle *dotlock_t; void dotlock_disable (void); dotlock_t dotlock_create (const char *file_to_lock, unsigned int flags); +void dotlock_set_fd (dotlock_t h, int fd); +int dotlock_get_fd (dotlock_t h); void dotlock_destroy (dotlock_t h); int dotlock_take (dotlock_t h, long timeout); int dotlock_release (dotlock_t h); -- cgit v1.2.3