Server - added 'install' make target
[tpg/opendispense2.git] / src / cokebank_basic / common.h
index e6e37c6..877b45b 100644 (file)
@@ -2,7 +2,7 @@
  * OpenDispense 2 
  * UCC (University [of WA] Computer Club) Electronic Accounting System
  *
- * cokebank.c - Coke-Bank management
+ * cokebank_basic/common.h - Coke-Bank management
  *
  * This file is licenced under the 3-clause BSD Licence. See the file COPYING
  * for full details.
 #ifndef _COKEBANK_COMMON_H_
 #define _COKEBANK_COMMON_H_
 
+#include "../cokebank.h"
+
+typedef struct sFileUser {
+        int    UnixID;
+        int    Balance;
+        int    Flags;
+}      tFileUser;
+
 typedef struct sUser {
         int    UnixID;
+       const char      *Name;
         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

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