xrxs/user.h

14 lines
338 B
C
Raw Normal View History

typedef struct Cart Cart;
typedef struct Realm Realm;
typedef struct UserInfo {
char name[32];
uvlong password;
Cart* cart;
Realm* realm;
} UserInfo;
int load_cart(char* uname, char* cart_name);
int enter_realm(char* uname, char* realm_name);
int leave_realm(char* uname, Realm* realm);
int unload_cart(char* uname, Cart* cart);