diff options
author | Matt Colyer | 2008-07-30 09:42:15 -0700 |
---|---|---|
committer | Matt Colyer | 2008-07-30 09:42:15 -0700 |
commit | ed6e6e57a819c78b888b1b71056ccc4ebb40434f (patch) | |
tree | 68ce222301295e9768939e5bf018daf51b741c28 /src/AFC.h | |
parent | 3dc130f3049e250b2d5c0b48af1995fda2fad3d4 (diff) | |
download | libimobiledevice-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.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -10,6 +10,7 @@ #include <string.h> #include <stdio.h> #include <stdlib.h> +#include <sys/stat.h> typedef struct { //const uint32 header1 = 0x36414643; // '6AFC' or 'CFA6' when sent ;) @@ -38,10 +39,6 @@ typedef struct __AFCToken { char *token; } AFCToken; -enum { - S_IFREG = 0, - S_IFDIR = 1 -}; enum { AFC_FILE_READ = 0x00000002, |