diff options
author | Preston Pan <ret2pop@gmail.com> | 2024-12-28 16:47:43 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2024-12-28 16:47:43 -0800 |
commit | 1fd608288ee47c2c560817f12f14b21069fed2f6 (patch) | |
tree | e6460b92dba5bb0d089c8c2a4e794e3504098359 /src/common/opcodes.c | |
parent | 63f11aaec8d21844a07fd27003a992c102a3a297 (diff) |
makefile and directory structure change completely to build client and server
Diffstat (limited to 'src/common/opcodes.c')
-rw-r--r-- | src/common/opcodes.c | 20 |
1 files changed, 20 insertions, 0 deletions
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 <stdlib.h> +#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; +} |