diff options
Diffstat (limited to 'src/common/szstr.h')
-rw-r--r-- | src/common/szstr.h | 6 |
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 \ { \ |