git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added zero-cost testing hack
[tpg/opendispense2.git]
/
src
/
cokebank_basic
/
common.h
diff --git
a/src/cokebank_basic/common.h
b/src/cokebank_basic/common.h
index
8f9a406
..
877b45b
100644
(file)
--- a/
src/cokebank_basic/common.h
+++ b/
src/cokebank_basic/common.h
@@
-12,10
+12,34
@@
#include "../cokebank.h"
#include "../cokebank.h"
+typedef struct sFileUser {
+ int UnixID;
+ int Balance;
+ int Flags;
+} tFileUser;
+
typedef struct sUser {
int UnixID;
typedef struct sUser {
int UnixID;
+ const char *Name;
int Balance;
int Flags;
} tUser;
int Balance;
int Flags;
} tUser;
+#if 0
+typedef struct sUser
+{
+ char *Username;
+ int UID;
+ int Pin;
+ int Balance;
+ int Flags;
+ time_t LastUsed;
+} tUser;
+typedef struct sAltLogin
+{
+ tUser *User;
+ char CardID[];
+} tAltLogin;
+#endif
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au