summaryrefslogtreecommitdiff
path: root/src/lib/encoding/keyval.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 11:46:32 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 11:46:32 -0400
commit30166261bb1e523db1199ea422c9bf09f30de69f (patch)
tree94843d489623f61d4403e1ad0552ceb28f25b1b2 /src/lib/encoding/keyval.h
parent48ebd9bf76a0e5ff60b88f8906919016de82e819 (diff)
downloadtor-30166261bb1e523db1199ea422c9bf09f30de69f.tar.gz
tor-30166261bb1e523db1199ea422c9bf09f30de69f.zip
Move string_is_key_value to lib/encoding
Diffstat (limited to 'src/lib/encoding/keyval.h')
-rw-r--r--src/lib/encoding/keyval.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/encoding/keyval.h b/src/lib/encoding/keyval.h
new file mode 100644
index 0000000000..7458555207
--- /dev/null
+++ b/src/lib/encoding/keyval.h
@@ -0,0 +1,11 @@
+/* Copyright (c) 2003, Roger Dingledine
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2018, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+#ifndef TOR_KEYVAL_H
+#define TOR_KEYVAL_H
+
+int string_is_key_value(int severity, const char *string);
+
+#endif