aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/include/util.h b/include/util.h
index 4b3c40bbb..9303a50b1 100644
--- a/include/util.h
+++ b/include/util.h
@@ -124,15 +124,7 @@ const char *strusage( int level );
/*-- dotlock.c --*/
-struct dotlock_handle;
-typedef struct dotlock_handle *DOTLOCK;
-
-void disable_dotlock(void);
-DOTLOCK create_dotlock( const char *file_to_lock );
-void destroy_dotlock ( DOTLOCK h );
-int make_dotlock( DOTLOCK h, long timeout );
-int release_dotlock( DOTLOCK h );
-void remove_lockfiles (void);
+#include "../include/dotlock.h"
/*-- fileutil.c --*/
char * make_basename(const char *filepath, const char *inputpath);
@@ -217,10 +209,10 @@ int strncasecmp (const char *, const char *b, size_t n);
/* The definition of the structure is private, we only need it here,
so it can be allocated on the stack. */
struct private_membuf_s {
- size_t len;
- size_t size;
- char *buf;
- int out_of_core;
+ size_t len;
+ size_t size;
+ char *buf;
+ int out_of_core;
};
typedef struct private_membuf_s membuf_t;