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 * TODO: Make this a Dynamic Library and load it at runtime
17 void Init_Cokebank(void);
18 int AlterBalance(int User, int Delta);
19 int GetBalance(int User);
20 char *GetUserName(int User);
21 int GetUserID(const char *Username);
25 * \brief Load the cokebank database
27 void Init_Cokebank(void)
33 * \brief Alters a user's balance by \a Delta
35 int AlterBalance(int User, int Delta)
41 * \brief Get the balance of the passed user
43 int GetBalance(int User)
49 * \brief Return the name the passed user
51 char *GetUserName(int User)
57 * \brief Get the User ID of the named user
59 int GetUserID(const char *Username)