aboutsummaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2017-11-05 14:01:48 +0100
committerToni Uhlig <matzeton@googlemail.com>2017-11-12 22:56:18 +0100
commitc5b0c7e5aa15cd14c1fd47fe2404a71ef6578543 (patch)
treea15bee2fa1e798ed206590ad11b65ac0ea39ee90 /utils.h
parent21be61692cefc489883822c7f718de1fe904fefe (diff)
ptunnel-ng:
* base64 encode prep * option parsing * refactoring * using strict aliasing
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils.h b/utils.h
new file mode 100644
index 0000000..2ac39f7
--- /dev/null
+++ b/utils.h
@@ -0,0 +1,6 @@
+#ifndef UTILS_H
+#define UTILS_H 1
+
+#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
+
+#endif