summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2016-07-30 12:42:23 -0700
committerdormando <dormando@rydia.net>2016-08-19 17:34:55 -0700
commita8347f6d0913a3cf22d30400b66bfcedf610ebf9 (patch)
tree1ede0116490e8567bfd35ccf9382d23829620a0b /util.h
parentc793bae62ebbf9b0c2b0663fcbd33684262e3062 (diff)
downloadmemcached-a8347f6d0913a3cf22d30400b66bfcedf610ebf9.tar.gz
prototype functionality for LRU metadumper
Functionality is nearly all there. A handful of FIXME's and TODO's to address. From there it needs to be refactored into something proper.
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util.h b/util.h
index 1ec1a52..33ca04a 100644
--- a/util.h
+++ b/util.h
@@ -1,3 +1,7 @@
+/* fast-enough functions for uriencoding strings. */
+void uriencode_init(void);
+bool uriencode(const char *src, char *dst, const size_t srclen, const size_t dstlen);
+
/*
* Wrappers around strtoull/strtoll that are safer and easier to
* use. For tests and assumptions, see internal_tests.c.