user.h (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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); |