From 1fd608288ee47c2c560817f12f14b21069fed2f6 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 28 Dec 2024 16:47:43 -0800 Subject: makefile and directory structure change completely to build client and server --- src/common/opcodes.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/common/opcodes.c (limited to 'src/common/opcodes.c') diff --git a/src/common/opcodes.c b/src/common/opcodes.c new file mode 100644 index 0000000..a489630 --- /dev/null +++ b/src/common/opcodes.c @@ -0,0 +1,20 @@ +#include +#include "../include/opcodes.h" +#include "../include/helpers.h" + + +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