diff dbutil.h @ 492:b956d6151600

Replace calls to strtoul() with a helper m_str_to_uint()
author Matt Johnston <matt@ucc.asn.au>
date Mon, 22 Sep 2008 14:13:44 +0000
parents 7ad49f34a122
children d588e3ea557a 76097ec1a29a
line wrap: on
line diff
--- a/dbutil.h	Mon Sep 22 14:13:14 2008 +0000
+++ b/dbutil.h	Mon Sep 22 14:13:44 2008 +0000
@@ -67,6 +67,7 @@
 void m_burn(void* data, unsigned int len);
 void setnonblocking(int fd);
 void disallow_core();
+int m_str_to_uint(const char* str, unsigned int *val);
 
 /* Used to force mp_ints to be initialised */
 #define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL}