diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-08-15 11:11:27 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-08-15 11:11:27 +0800 |
commit | 43efa12e9fb6df6320ffb7e261145d313f19d1f3 (patch) | |
tree | 900a638ef7c217387082c27af9004fbc30feae9b /easytool/utils.h | |
parent | ab6aa10e6625bca5f15f9de775ff7dc51eb825a7 (diff) |
print full transaction log, including recharge-section, better formatting
Diffstat (limited to 'easytool/utils.h')
-rw-r--r-- | easytool/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/easytool/utils.h b/easytool/utils.h index ee446cd..0ff0ad7 100644 --- a/easytool/utils.h +++ b/easytool/utils.h @@ -1,6 +1,8 @@ #ifndef UTILS_H #define UTILS_H +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) + struct value_string { unsigned int value; const char *str; |