diff options
| author | 2008-12-08 22:47:02 +0100 | |
|---|---|---|
| committer | 2008-12-08 22:47:02 +0100 | |
| commit | 1a06347d27ca51283de3a9ff21e138a3ea9ba9b6 (patch) | |
| tree | aa863b9df8557c8dc04da2b6e6f982640bc3ac26 /src/plist.h | |
| parent | 7563917755cf58cee80fbd5bc56a1ab0f563963a (diff) | |
| download | libimobiledevice-1a06347d27ca51283de3a9ff21e138a3ea9ba9b6.tar.gz libimobiledevice-1a06347d27ca51283de3a9ff21e138a3ea9ba9b6.tar.bz2 | |
cleanup binary parsing and move stuff around.
Diffstat (limited to 'src/plist.h')
| -rw-r--r-- | src/plist.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/plist.h b/src/plist.h index ed3d2b2..df1d3e4 100644 --- a/src/plist.h +++ b/src/plist.h | |||
| @@ -35,7 +35,7 @@ char *format_string(const char *buf, int cols, int depth); | |||
| 35 | 35 | ||
| 36 | /* Binary plist stuff */ | 36 | /* Binary plist stuff */ |
| 37 | 37 | ||
| 38 | 38 | /* | |
| 39 | typedef enum { | 39 | typedef enum { |
| 40 | PLIST_BOOLEAN, | 40 | PLIST_BOOLEAN, |
| 41 | PLIST_UINT8, | 41 | PLIST_UINT8, |
| @@ -53,6 +53,22 @@ typedef enum { | |||
| 53 | PLIST_PLIST, | 53 | PLIST_PLIST, |
| 54 | PLIST_KEY, | 54 | PLIST_KEY, |
| 55 | } plist_type; | 55 | } plist_type; |
| 56 | */ | ||
| 57 | |||
| 58 | typedef enum { | ||
| 59 | PLIST_BOOLEAN, | ||
| 60 | PLIST_UINT, | ||
| 61 | PLIST_REAL, | ||
| 62 | PLIST_STRING, | ||
| 63 | PLIST_UNICODE, | ||
| 64 | PLIST_ARRAY, | ||
| 65 | PLIST_DICT, | ||
| 66 | PLIST_DATE, | ||
| 67 | PLIST_DATA, | ||
| 68 | PLIST_PLIST, | ||
| 69 | PLIST_KEY, | ||
| 70 | } plist_type; | ||
| 71 | |||
| 56 | 72 | ||
| 57 | 73 | ||
| 58 | typedef GNode *plist_t; | 74 | typedef GNode *plist_t; |
