summaryrefslogtreecommitdiff
path: root/src/lib/encoding/qstring.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-03-11 10:35:46 -0400
committerNick Mathewson <nickm@torproject.org>2020-03-11 10:35:46 -0400
commit55055396ccfb4878772a3bc8360bc3dd56d09c64 (patch)
tree284b214407b1d7d823f2ae4d1ce88c3e70dfc485 /src/lib/encoding/qstring.h
parent5721ec22d8be99a6f24fa69d51d0cbdc4ff21739 (diff)
parent5298113da98f13cfaad4a9ab7b5ac8baa6c37279 (diff)
downloadtor-55055396ccfb4878772a3bc8360bc3dd56d09c64.tar.gz
tor-55055396ccfb4878772a3bc8360bc3dd56d09c64.zip
Merge branch 'maint-0.4.1' into bug33032_041
Diffstat (limited to 'src/lib/encoding/qstring.h')
-rw-r--r--src/lib/encoding/qstring.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/encoding/qstring.h b/src/lib/encoding/qstring.h
new file mode 100644
index 0000000000..840e1044ce
--- /dev/null
+++ b/src/lib/encoding/qstring.h
@@ -0,0 +1,18 @@
+/* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2019, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+/**
+ * \file qstring.h
+ * \brief Header for qstring.c
+ */
+
+#ifndef TOR_ENCODING_QSTRING_H
+#define TOR_ENCODING_QSTRING_H
+
+#include <stddef.h>
+
+const char *decode_qstring(const char *start, size_t in_len_max,
+ char **out, size_t *out_len);
+
+#endif /* !defined(TOR_ENCODING_QSTRING_H) */