aboutsummaryrefslogtreecommitdiff
path: root/src/opcodes.c
blob: 66742db01ecf391a0b4ecb9a1a1b3337e4406d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <stdlib.h>
#include <opcodes.h>
#include <helpers.h>


void die_lz(int code, const char *msg) {
  if (code < 0) {
    die(msg);
  }
}

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;
}