summaryrefslogtreecommitdiffstats
path: root/misc/node.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-17 15:29:03 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:34 +0200
commitcec37e98d59af3bf91ffc4d44eedee809ab3acc7 (patch)
treea20b2c94893fe7955414a4a6e182fc895f2b2215 /misc/node.h
parentec7d1e86b60f1c684bc9778a9ce958a9ecd54735 (diff)
downloadmpv-cec37e98d59af3bf91ffc4d44eedee809ab3acc7.tar.bz2
mpv-cec37e98d59af3bf91ffc4d44eedee809ab3acc7.tar.xz
misc: move some helper code from client.c
(Slightly oddly function names, because I want to avoid starting them with mpv_*, which is reserved for public API.)
Diffstat (limited to 'misc/node.h')
-rw-r--r--misc/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/node.h b/misc/node.h
index 5d8100da41..419f3fc505 100644
--- a/misc/node.h
+++ b/misc/node.h
@@ -11,5 +11,7 @@ void node_map_add_int64(struct mpv_node *dst, const char *key, int64_t v);
void node_map_add_double(struct mpv_node *dst, const char *key, double v);
void node_map_add_flag(struct mpv_node *dst, const char *key, bool v);
mpv_node *node_map_get(mpv_node *src, const char *key);
+bool equal_mpv_value(const void *a, const void *b, mpv_format format);
+bool equal_mpv_node(const struct mpv_node *a, const struct mpv_node *b);
#endif