all repos — xrxs @ 92bbf397acaad8ba849cbfa3981548ae47999871

experimental networked application/game server with 9p

aux.h (raw)

1
2
3
4
5
6
7
8
9
typedef enum { CTL = 1, USERS, CARTS, SLOT, DATA, REALMS, UNIVERSE } FileType;

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

Aux* create_aux(FileType t);