summaryrefslogtreecommitdiff
path: root/src/common/szstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/szstr.h')
-rw-r--r--src/common/szstr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/szstr.h b/src/common/szstr.h
index d73e489..0091482 100644
--- a/src/common/szstr.h
+++ b/src/common/szstr.h
@@ -30,6 +30,7 @@
#include "sort.h"
+#include "../arch/archbase.h"
@@ -42,6 +43,9 @@ typedef struct _sized_string_t
} sized_string_t;
+typedef sized_string_t sized_binary_t;
+
+
#define init_szstr(s) \
do \
{ \
@@ -59,6 +63,8 @@ typedef struct _sized_string_t
} \
while (0)
+#define copy_szstr(d, s) (d) = (s);
+
#define exit_szstr(s) \
do \
{ \