home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
OS2CAT11.ARC
/
USERFILE.DOC
< prev
Wrap
Text File
|
1992-01-29
|
4KB
|
78 lines
This file describes the layout of user records in Kitten's USERS.CAT file.
Kitten is written mostly in C, so all strings are null terminated and all
dates/times are given as long integer seconds since the beginning of 1970.
Also, "today" means on the last day the user called.
Offset Length Type Description
====== ====== ==== ===========
0 1 byte Record type (always zero)
1 36 string User name
37 40 string City and state
77 10 string Password
87 2 unsigned Number of times user has called (total)
89 2 unsigned Number of times user has called (today)
91 4 long Date/time of last logon
95 4 long Date/time of last file listing
99 4 long Date/time of last message access
103 2 bitfield Flags
2 bits Access level (0=twit, 3=super)
1 bit Reviewed
1 bit Delete
1 bit News has been read
1 bit Keep
1 bit Hacker
1 bit Linefeeds required
105 4 long User flags (low bit is U0)
109 4 long User control flags (defined flags only)
113 1 byte Rows per page
114 1 byte Columns per row
115 1 byte Nulls to send after CR
116 2 unsigned Files downloaded (total)
118 4 long Bytes downloaded (total)
122 2 unsigned Files downloaded (today)
124 4 long Bytes downloaded (today)
128 2 unsigned Files uploaded (total)
130 4 long Bytes uploaded (total)
134 2 unsigned Files uploaded (today)
136 4 long Bytes uploaded (today)
140 104 long*26 Numeric variables (26 longs, A to Z)
244 1 byte Protocol index (S=SEAlink, X=Xmodem, etc)
245 1 byte Spare, unused
246 4 long Total time connected, in seconds
250 4 long Time connected today, in seconds
254 16 string Last known Called*ID number
270 16 string Previous known Caller*ID number
286 2 int Caller*ID option flags (see note)
288 4 long Date/time of first logon ever
292 13 string Name of user sound file
305 13 string Name of user survey data file
318 4 long Pointer into survey data file
322 4 long Length of user survey data (in bytes)
326 2 int Line number, if online now
328 184 * Expansion area, unused
NOTE: The following Caller*ID option flags are currently defined:
0x0001 Caller*ID lock (login allowed only from known number)
0x0002 Fast logon
Currently defined control flags are defined as follows:
0x00000001 C0 - local session
0x00000002 C1 - paused output
0x00000004 C2 - linewrap
0x00000008 C3 - ANSI filter
0x00000010 C4 - graphics filter
0x00000020 C5 - remote enabled
0x00000040 C6 - protected mode (OS/2)
At session startup, control flags C1 through C4 are set from the user
record and C5 is set. C0 and C6 are always constrained to reflect the
current situation and cannot be changed. All other control flags are left
"as is" between sessions.