summaryrefslogtreecommitdiffstats
path: root/src/AFC.h
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-07-30 09:42:15 -0700
committerGravatar Matt Colyer2008-07-30 09:42:15 -0700
commited6e6e57a819c78b888b1b71056ccc4ebb40434f (patch)
tree68ce222301295e9768939e5bf018daf51b741c28 /src/AFC.h
parent3dc130f3049e250b2d5c0b48af1995fda2fad3d4 (diff)
downloadlibimobiledevice-ed6e6e57a819c78b888b1b71056ccc4ebb40434f.tar.gz
libimobiledevice-ed6e6e57a819c78b888b1b71056ccc4ebb40434f.tar.bz2
Added beginnings of a fuse fs, right now it's read only and terribly fragile.
Diffstat (limited to 'src/AFC.h')
-rw-r--r--src/AFC.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/AFC.h b/src/AFC.h
index 787b9fe..6e1bf77 100644
--- a/src/AFC.h
+++ b/src/AFC.h
@@ -10,6 +10,7 @@
10#include <string.h> 10#include <string.h>
11#include <stdio.h> 11#include <stdio.h>
12#include <stdlib.h> 12#include <stdlib.h>
13#include <sys/stat.h>
13 14
14typedef struct { 15typedef struct {
15 //const uint32 header1 = 0x36414643; // '6AFC' or 'CFA6' when sent ;) 16 //const uint32 header1 = 0x36414643; // '6AFC' or 'CFA6' when sent ;)
@@ -38,10 +39,6 @@ typedef struct __AFCToken {
38 char *token; 39 char *token;
39} AFCToken; 40} AFCToken;
40 41
41enum {
42 S_IFREG = 0,
43 S_IFDIR = 1
44};
45 42
46enum { 43enum {
47 AFC_FILE_READ = 0x00000002, 44 AFC_FILE_READ = 0x00000002,