projects
/
tedtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add 64-bit variant for xtostr and strtox
[tedtools.git]
/
tools.h
diff --git
a/tools.h
b/tools.h
index
473e21b
..
f4ee5b7
100644
(file)
--- a/
tools.h
+++ b/
tools.h
@@
-34,8
+34,10
@@
#include <sys/time.h>
u_int32_t strtox(char *src, char **end);
#include <sys/time.h>
u_int32_t strtox(char *src, char **end);
+u_int64_t strtox64(char *src, char **end);
#define atox(x) strtox((x),NULL)
char* xtostr(u_int32_t x);
#define atox(x) strtox((x),NULL)
char* xtostr(u_int32_t x);
+char* x64tostr(u_int64_t x);
double timediff(struct timeval *begin, struct timeval *end);
double elapsedtime(struct timeval *begin);
double timediff(struct timeval *begin, struct timeval *end);
double elapsedtime(struct timeval *begin);