aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-02-10 16:22:40 +0000
committerWerner Koch <[email protected]>1999-02-10 16:22:40 +0000
commit9a4f506a18ed04f5dbd69d74ec0c35ade79e357a (patch)
tree07178f77cb23862b045b0edf8a2bc5ce188432cd /include/util.h
parentSee ChangeLog: Sun Jan 24 18:16:26 CET 1999 Werner Koch (diff)
downloadgnupg-9a4f506a18ed04f5dbd69d74ec0c35ade79e357a.tar.gz
gnupg-9a4f506a18ed04f5dbd69d74ec0c35ade79e357a.zip
See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner Koch
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h8
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 --*/