#ifndef PROTOCOL_H #define PROTOCOL_H #define OP_ASK '?' #define OP_ '=' #define OP_ADD '+' struct transaction { char operation; long value; } struct sequence { long transaction_id; transaction transaction; } #endif // PROTOCOL_H