summaryrefslogtreecommitdiffstats
path: root/plist.h
diff options
context:
space:
mode:
Diffstat (limited to 'plist.h')
-rw-r--r--plist.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/plist.h b/plist.h
new file mode 100644
index 0000000..1f18eb4
--- /dev/null
+++ b/plist.h
@@ -0,0 +1,17 @@
1/* plist.h
2 * contains structures and the like for plists
3 * written by fxchip
4 */
5
6#ifndef PLIST_H
7#define PLIST_H
8
9#include <libxml/parser.h>
10#include <libxml/tree.h>
11
12xmlNode *add_key_str_dict_element(xmlDocPtr plist, xmlNode *dict, const char *key, const char *value, int depth);
13xmlNode *add_child_to_plist(xmlDocPtr plist, const char *name, const char *content, xmlNode *to_node, int depth);
14void free_plist(xmlDocPtr plist);
15xmlDocPtr new_plist();
16void free_dictionary(char **dictionary);
17#endif