#ifndef TOOLBOX_CSTR_FIXED_H #define TOOLBOX_CSTR_FIXED_H #ifndef TOOLBOX_CSTR_FIXED_MAX_SIZE #define TOOLBOX_CSTR_FIXED_MAX_SIZE ((size_t) 255L) #endif #include struct cstr_fixed { size_t size; char data[TOOLBOX_CSTR_FIXED_MAX_SIZE]; }; struct cstr_fixed cstr_fixed_from_cstring(const char *cstring); _Bool cstr_fixed_equal(const struct cstr_fixed cstr_fixed1 , const struct cstr_fixed cstr_fixed2); _Bool cstr_fixed_equal_cstring(const struct cstr_fixed cstr_fixed , const char *cstring); #endif