all repos — xrxs @ c524a9b65b3b840a461126a7cf2ea733bd382a36

experimental networked application/game server with 9p

aux.h (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
typedef enum {
  CTL = 1,
  USERS,
  CARTS,
  SLOT,
  SPRITE_DATA,
  AUDIO_DATA,
  TEXT_DATA,
  REALMS,
  UNIVERSE
} FileType;

typedef struct Aux {
  FileType type;
  char* data;
  int count;
} Aux;

Aux* create_aux(FileType t);