diff options
Diffstat (limited to 'src/AFC.h')
| -rw-r--r-- | src/AFC.h | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -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 | ||
| 14 | typedef struct { | 15 | typedef 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 | ||
| 41 | enum { | ||
| 42 | S_IFREG = 0, | ||
| 43 | S_IFDIR = 1 | ||
| 44 | }; | ||
| 45 | 42 | ||
| 46 | enum { | 43 | enum { |
| 47 | AFC_FILE_READ = 0x00000002, | 44 | AFC_FILE_READ = 0x00000002, |
