From 63f11aaec8d21844a07fd27003a992c102a3a297 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 27 Dec 2024 20:05:06 -0800 Subject: make directory structure for client --- server/opcodes.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 server/opcodes.c (limited to 'server/opcodes.c') diff --git a/server/opcodes.c b/server/opcodes.c new file mode 100644 index 0000000..8fc51f2 --- /dev/null +++ b/server/opcodes.c @@ -0,0 +1,20 @@ +#include +#include +#include + + +char *decode_client_opcode(int op) { + return "implement me"; +} + +char *decode_server_opcode(int op) { + return "implement me"; +} + +int encode_client_opcode(char *c) { + return -1; +} + +int encode_server_opcode(char *c) { + return -1; +} -- cgit