Cleaned up cokebank_basic a bit
[tpg/opendispense2.git] / src / cokebank_basic / common.h
1 /*
2  * OpenDispense 2 
3  * UCC (University [of WA] Computer Club) Electronic Accounting System
4  *
5  * cokebank_basic/common.h - Coke-Bank management
6  *
7  * This file is licenced under the 3-clause BSD Licence. See the file COPYING
8  * for full details.
9  */
10 #ifndef _COKEBANK_COMMON_H_
11 #define _COKEBANK_COMMON_H_
12
13 #include "../cokebank.h"
14
15 typedef struct sUser {
16          int    UnixID;
17          int    Balance;
18          int    Flags;
19 }       tUser;
20
21 #if 0
22 typedef struct sUser
23 {
24         char    *Username;
25          int    UID;
26          int    Pin;
27          int    Balance;
28          int    Flags;
29         time_t  LastUsed;
30 }       tUser;
31 typedef struct sAltLogin
32 {
33         tUser   *User;
34         char    CardID[];
35 }       tAltLogin;
36 #endif
37
38 #endif

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