diff options
Diffstat (limited to 'request.h')
-rw-r--r-- | request.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/request.h b/request.h new file mode 100644 index 0000000..6c5925a --- /dev/null +++ b/request.h @@ -0,0 +1,14 @@ +#ifndef REQUEST_H +#define REQUEST_H + +#include <stdint.h> + +typedef uint8_t byte; + +typedef struct { + byte opcode; + + byte data[512]; +} request_t; + +#endif /* REQUEST_H */ |