summaryrefslogtreecommitdiffstats
path: root/src/plist.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-12-08 22:47:02 +0100
committerGravatar Jonathan Beck2008-12-08 22:47:02 +0100
commit1a06347d27ca51283de3a9ff21e138a3ea9ba9b6 (patch)
treeaa863b9df8557c8dc04da2b6e6f982640bc3ac26 /src/plist.h
parent7563917755cf58cee80fbd5bc56a1ab0f563963a (diff)
downloadlibplist-1a06347d27ca51283de3a9ff21e138a3ea9ba9b6.tar.gz
libplist-1a06347d27ca51283de3a9ff21e138a3ea9ba9b6.tar.bz2
cleanup binary parsing and move stuff around.
Diffstat (limited to 'src/plist.h')
-rw-r--r--src/plist.h18
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);
/* Binary plist stuff */
-
+/*
typedef enum {
PLIST_BOOLEAN,
PLIST_UINT8,
@@ -53,6 +53,22 @@ typedef enum {
PLIST_PLIST,
PLIST_KEY,
} plist_type;
+*/
+
+typedef enum {
+ PLIST_BOOLEAN,
+ PLIST_UINT,
+ PLIST_REAL,
+ PLIST_STRING,
+ PLIST_UNICODE,
+ PLIST_ARRAY,
+ PLIST_DICT,
+ PLIST_DATE,
+ PLIST_DATA,
+ PLIST_PLIST,
+ PLIST_KEY,
+} plist_type;
+
typedef GNode *plist_t;