blob: 7a2b55101d8c9c6751c1580913623ce28a19507b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef UTILS_H
#define UTILS_H 1
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
void pt_log(int level, const char *fmt, ...);
double time_as_double(void);
#if 0
void print_hexstr(unsigned char *buf, size_t siz);
#endif
#endif
|