Client - Documentation for `enumitems` (commented out)
[tpg/opendispense2.git] / src / cokebank.h
index e5a4389..45d1304 100644 (file)
 #include <stdlib.h>
 
 #define COKEBANK_SALES_ACCT    ">sales"        //!< Sales made into
+#define COKEBANK_SALES_PREFIX  ">sales:"       //!< Sales made into
 #define COKEBANK_DEBT_ACCT     ">liability"    //!< Credit taken out of
 #define COKEBANK_FREE_ACCT     ">freeitems"    //!< ODay drink costs taken out of
+#define COKEBANK_DONATE_ACCT   ">donations"    //!< Donations go here
 
 /**
  * \brief Account iterator opaque structure
@@ -135,7 +137,7 @@ extern char *Bank_GetAcctName(int AcctID);
  * \param Name Name to search for
  * \return ID of the account, or -1 if not found
  */
-extern int     Bank_GetAcctByName(const char *Name);
+extern int     Bank_GetAcctByName(const char *Name, int bCreate);
 /**
  * \brief Create a new account
  * \param Name Name for the new account (if NULL, an anoymous account is created)

UCC git Repository :: git.ucc.asn.au