diff options
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/util.h b/include/util.h index 8b8df37e8..6462ddeae 100644 --- a/include/util.h +++ b/include/util.h @@ -127,10 +127,12 @@ const char *strusage( int level ); /*-- dotlock.c --*/ -const char *make_dotlock( const char *file_to_lock, long timeout ); -int release_dotlock( const char *lockfile ); - +struct dotlock_handle; +typedef struct dotlock_handle *DOTLOCK; +DOTLOCK create_dotlock( const char *file_to_lock ); +int make_dotlock( DOTLOCK h, long timeout ); +int release_dotlock( DOTLOCK h ); /*-- fileutil.c --*/ |