summaryrefslogtreecommitdiffstats
path: root/src/fuse/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuse/main.h')
-rw-r--r--src/fuse/main.h32
1 files changed, 3 insertions, 29 deletions
diff --git a/src/fuse/main.h b/src/fuse/main.h
index 721f251..53d81e4 100644
--- a/src/fuse/main.h
+++ b/src/fuse/main.h
@@ -1,39 +1,13 @@
#ifndef _MAIN_H_
#define _MAIN_H_
-#include "cowfile.h"
-#include "connection.h"
-#include "helper.h"
-#include <dnbd3/version.h>
-#include <dnbd3/build.h>
-#include <dnbd3/shared/protocol.h>
-#include <dnbd3/shared/log.h>
-
#define FUSE_USE_VERSION 30
-#include <dnbd3/config.h>
#include <fuse_lowlevel.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <assert.h>
-/* for printing uint */
-#define __STDC_FORMAT_MACROS
-#include <inttypes.h>
-#include <getopt.h>
-#include <time.h>
-#include <signal.h>
-#include <pthread.h>
-#define debugf(...) do { logadd( LOG_DEBUG1, __VA_ARGS__ ); } while (0)
-
-#define INO_ROOT (1)
-#define INO_STATS (2)
-#define INO_IMAGE (3)
+#include <stdbool.h>
extern bool useCow;
extern bool cow_merge_after_upload;
void image_ll_getattr( fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi );
+void main_shutdown(void);
-#endif /* main_H_ */ \ No newline at end of file
+#endif /* main_H_ */