diff options
author | Preston Pan <ret2pop@gmail.com> | 2024-12-27 20:05:06 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2024-12-27 20:05:06 -0800 |
commit | 63f11aaec8d21844a07fd27003a992c102a3a297 (patch) | |
tree | 6240a2c8561642d0c1d0b95148d6c868c7855a4a /server/opcodes.c | |
parent | fd14f6fbf8206589d2a0ad8f0793845cb8faf1d7 (diff) |
make directory structure for client
Diffstat (limited to 'server/opcodes.c')
-rw-r--r-- | server/opcodes.c | 20 |
1 files changed, 20 insertions, 0 deletions
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 <stdlib.h> +#include <opcodes.h> +#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; +} |