summaryrefslogtreecommitdiff
path: root/request.h
diff options
context:
space:
mode:
authorgayot_o <gayot_o@localhost>2013-11-19 02:43:27 +0000
committergayot_o <gayot_o@localhost>2013-11-19 02:45:46 +0000
commit459e2685158f1dc5a9cd3da1c3125889bc02f9d6 (patch)
treed4a205fed05e69d1184da0e76f1fb9ac49e06e43 /request.h
parentb0155666fbbb6c4105c36ffcddb894d7d21e38ae (diff)
mplayer_server: first version of the server
Diffstat (limited to 'request.h')
-rw-r--r--request.h14
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 */