summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index dbdb165..2460ab9 100644
--- a/src/util.h
+++ b/src/util.h
@@ -2,12 +2,16 @@
#define fooutilhfoo
#include <db.h>
+#include <stdint.h>
void statistics(DB *db);
char* normalize_path(char *s);
void rotdash(void);
const char* get_attached_filename(const char *path, const char *fn);
int isdirectory(const char *path);
+int copy_fd(int sfd, int dfd, uint32_t l);
+int copy_file(const char *src, const char *dst);
+int copy_or_link_file(const char *src, const char *dst);
#ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))