summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorBrad Fitzpatrick <brad@danga.com>2008-10-14 22:51:46 -0700
committerDustin Sallings <dustin@spy.net>2009-03-19 01:52:53 -0700
commit674166c002fe2e32f0385d12351091d738150a12 (patch)
tree11d85df4a9c52b18b35f98a2f12a3c619f06d03e /util.h
parent420aa2d992093b78c1bba6cbb3577d5b53a19ec8 (diff)
downloadmemcached-674166c002fe2e32f0385d12351091d738150a12.tar.gz
flesh out safe_strto* util funcs, and make incrdecr use them
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 24b0da6..38f0e4c 100644
--- a/util.h
+++ b/util.h
@@ -5,4 +5,6 @@
* returns true if conversion succeeded.
*/
bool safe_strtoull(const char *str, unsigned long long *out);
+bool safe_strtoll(const char *str, long long *out);
+