Client - Documentation for `enumitems` (commented out)
[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 sFileUser {
16          int    UnixID;
17          int    Balance;
18          int    Flags;
19 }       tFileUser;
20
21 typedef struct sUser {
22          int    UnixID;
23         const char      *Name;
24          int    Balance;
25          int    Flags;
26 }       tUser;
27
28 #if 0
29 typedef struct sUser
30 {
31         char    *Username;
32          int    UID;
33          int    Pin;
34          int    Balance;
35          int    Flags;
36         time_t  LastUsed;
37 }       tUser;
38 typedef struct sAltLogin
39 {
40         tUser   *User;
41         char    CardID[];
42 }       tAltLogin;
43 #endif
44
45 #endif

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