summaryrefslogtreecommitdiffstats
path: root/src/ifuse.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-25 23:52:06 +0200
committerGravatar Jonathan Beck2008-08-31 19:33:19 +0200
commit572113d68e2b8d087526474dc384dac69e937bd3 (patch)
treec73698faf346392e6ffd4eb5119b175da24163ba /src/ifuse.c
parente52da6fe75008174a254254ec83394766afb624b (diff)
downloadlibplist-572113d68e2b8d087526474dc384dac69e937bd3.tar.gz
libplist-572113d68e2b8d087526474dc384dac69e937bd3.tar.bz2
ifuse.c only includes libiphonoe.h
Diffstat (limited to 'src/ifuse.c')
-rw-r--r--src/ifuse.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 1c184a2..eacf549 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -32,12 +32,7 @@
#include <glib.h>
#include <unistd.h>
-#include "usbmux.h"
-#include "iphone.h"
-#include "plist.h"
-#include "lockdown.h"
-#include "AFC.h"
-#include "userpref.h"
+#include <libiphone/libiphone.h>
GHashTable *file_handles;
int fh_index = 0;
@@ -91,7 +86,7 @@ static int ifuse_create(const char *path, mode_t mode, struct fuse_file_info *fi
static int ifuse_open(const char *path, struct fuse_file_info *fi) {
iphone_afc_file_t file;
iphone_afc_client_t afc = fuse_get_context()->private_data;
- uint32 mode = 0;
+ uint32_t mode = 0;
if ((fi->flags & 3) == O_RDWR || (fi->flags & 3) == O_WRONLY) {
mode = AFC_FILE_READ;
@@ -212,7 +207,7 @@ int ifuse_flush(const char *path, struct fuse_file_info *fi) {
int ifuse_statfs(const char *path, struct statvfs *stats) {
iphone_afc_client_t afc = fuse_get_context()->private_data;
char **info_raw = iphone_afc_get_devinfo(afc);
- uint32 totalspace = 0, freespace = 0, blocksize = 0, i = 0;
+ uint32_t totalspace = 0, freespace = 0, blocksize = 0, i = 0;
if (!info_raw) return -ENOENT;