#include "protocol.h" #include #include int main(void) { assert(sizeof(struct owb_config_header) == 40); assert(offsetof(struct owb_config_header, zoom_percent) == 20); assert(sizeof(struct owb_command) == 100); assert(offsetof(struct owb_shared_frames, pixels) == 40); assert(owb_shared_size(2, 2) == 72); assert(offsetof(struct owb_command, text) == 36); assert(OWB_CONFIG_MAGIC != OWB_COMMAND_MAGIC); return 0; }