aboutsummaryrefslogtreecommitdiffstats
path: root/common/dotlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/dotlock.h')
-rw-r--r--common/dotlock.h2
1 files changed, 2 insertions, 0 deletions
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);