2 #define N_ELEM(x) (sizeof(x)/sizeof(*(x)))
8 void info(const char *fmt, ...);
9 void debug(const char *fmt, ...);
10 void warn(const char *fmt, ...);
11 void error(const char *fmt, ...);
13 /* Output functions */
14 void hexdump(const char *fmt, const char *prefix, const uint8_t *data, ...);
17 void *alloc0(int size);