summaryrefslogtreecommitdiffstats
path: root/libhb/plist.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-05-06 16:04:08 +0000
committerjstebbins <[email protected]>2015-05-06 16:04:08 +0000
commit9c0e97cc2c369e0c720441d182bbde20210742f4 (patch)
tree8b8f74ed24d0f617c9980d9043ebd53c33c531f3 /libhb/plist.h
parent81bcee10d2ad88f44c0f7791f2dd8da4ee2c1b76 (diff)
libhb,cli: add preset management to libhb, use it in cli
This results in custom preset support in the CLI and additional command line options to fully support all preset keys. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7158 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/plist.h')
-rw-r--r--libhb/plist.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libhb/plist.h b/libhb/plist.h
new file mode 100644
index 000000000..901aeb4b0
--- /dev/null
+++ b/libhb/plist.h
@@ -0,0 +1,13 @@
+#if !defined(_HB_PLIST_H_)
+#define _HB_PLIST_H_
+
+#include <stdio.h>
+#include "hb_dict.h"
+
+hb_value_t * hb_plist_parse(const char *buf, size_t len);
+hb_value_t * hb_plist_parse_file(const char *filename);
+void hb_plist_write(FILE *file, hb_value_t *val);
+void hb_plist_write_file(const char *filename, hb_value_t *val);
+
+#endif // _HB_PLIST_H_
+