3 * UCC (University [of WA] Computer Club) Electronic Accounting System
5 * cokebank.c - Coke-Bank management
7 * This file is licenced under the 3-clause BSD Licence. See the file COPYING
10 #ifndef _COKEBANK_COMMON_H_
11 #define _COKEBANK_COMMON_H_
13 typedef struct sUser {
20 extern int Bank_GetMinAllowedBalance(int ID);
21 extern int Bank_GetUserBalance(int ID);
22 extern int Bank_AlterUserBalance(int ID, int Delta);
23 extern char *Bank_GetUserName(int ID);
24 extern int Bank_GetUserFlags(int ID);
25 extern int Bank_GetUserByName(const char *Username);
26 extern int Bank_AddUser(const char *Username);
27 extern FILE *gBank_File;
28 extern tUser *gaBank_Users;
29 extern int giBank_NumUsers;