diff options
Diffstat (limited to 'src/xplist.c')
| -rw-r--r-- | src/xplist.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xplist.c b/src/xplist.c index e61797c..f9670f1 100644 --- a/src/xplist.c +++ b/src/xplist.c | |||
| @@ -22,8 +22,6 @@ | |||
| 22 | 22 | ||
| 23 | #include <string.h> | 23 | #include <string.h> |
| 24 | #include <assert.h> | 24 | #include <assert.h> |
| 25 | #include "utils.h" | ||
| 26 | #include "plist.h" | ||
| 27 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 28 | #include <stdio.h> | 26 | #include <stdio.h> |
| 29 | 27 | ||
| @@ -31,6 +29,10 @@ | |||
| 31 | #include <libxml/parser.h> | 29 | #include <libxml/parser.h> |
| 32 | #include <libxml/tree.h> | 30 | #include <libxml/tree.h> |
| 33 | 31 | ||
| 32 | #include <plist/plist.h> | ||
| 33 | #include "utils.h" | ||
| 34 | #include "plist.h" | ||
| 35 | |||
| 34 | #define XPLIST_TEXT BAD_CAST("text") | 36 | #define XPLIST_TEXT BAD_CAST("text") |
| 35 | #define XPLIST_KEY BAD_CAST("key") | 37 | #define XPLIST_KEY BAD_CAST("key") |
| 36 | #define XPLIST_FALSE BAD_CAST("false") | 38 | #define XPLIST_FALSE BAD_CAST("false") |
| @@ -43,7 +45,7 @@ | |||
| 43 | #define XPLIST_ARRAY BAD_CAST("array") | 45 | #define XPLIST_ARRAY BAD_CAST("array") |
| 44 | #define XPLIST_DICT BAD_CAST("dict") | 46 | #define XPLIST_DICT BAD_CAST("dict") |
| 45 | 47 | ||
| 46 | const char *plist_base = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\ | 48 | static const char *plist_base = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\ |
| 47 | <!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n\ | 49 | <!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n\ |
| 48 | <plist version=\"1.0\">\n\ | 50 | <plist version=\"1.0\">\n\ |
| 49 | </plist>\0"; | 51 | </plist>\0"; |
