aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/include/util.h b/include/util.h
index 190bff6ff..db221bba6 100644
--- a/include/util.h
+++ b/include/util.h
@@ -27,9 +27,10 @@
#include <stdio.h>
#include "types.h"
#include "errors.h"
-#include "../util/mischelp.h"
-#include "../util/stringhelp.h"
-#include "../util/argparse.h"
+#include "../jnlib/mischelp.h"
+#include "../jnlib/stringhelp.h"
+#include "../jnlib/argparse.h"
+#include "../jnlib/dotlock.h"
/*-- logger.c --*/
@@ -91,14 +92,6 @@ void g10_log_hexdump( const char *text, const char *buf, size_t len );
const char * g10_errstr( int no );
-/*-- dotlock.c --*/
-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 --*/
char * make_basename(const char *filepath);