Squashed 'third_party/rawrtc/re/' content from commit f3163ce8b

Change-Id: I6a235e6ac0f03269d951026f9d195da05c40fdab
git-subtree-dir: third_party/rawrtc/re
git-subtree-split: f3163ce8b526a13b35ef71ce4dd6f43585064d8a
diff --git a/include/re_conf.h b/include/re_conf.h
new file mode 100644
index 0000000..8c5d008
--- /dev/null
+++ b/include/re_conf.h
@@ -0,0 +1,20 @@
+/**
+ * @file re_conf.h  Interface to configuration
+ *
+ * Copyright (C) 2010 Creytiv.com
+ */
+
+
+struct conf;
+
+typedef int (conf_h)(const struct pl *val, void *arg);
+
+int conf_alloc(struct conf **confp, const char *filename);
+int conf_alloc_buf(struct conf **confp, const uint8_t *buf, size_t sz);
+int conf_get(const struct conf *conf, const char *name, struct pl *pl);
+int conf_get_str(const struct conf *conf, const char *name, char *str,
+		 size_t size);
+int conf_get_u32(const struct conf *conf, const char *name, uint32_t *num);
+int conf_get_bool(const struct conf *conf, const char *name, bool *val);
+int conf_apply(const struct conf *conf, const char *name,
+	       conf_h *ch, void *arg);