home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
com
/
bbs
/
lora
/
l2febbs
/
sb116.h
< prev
Wrap
C/C++ Source or Header
|
1993-10-22
|
3KB
|
129 lines
/* SUSER.BBS (ExtraUserRec) */
struct ExtraUserRec
{
char Name[36];
char Birthday[9];
word Attrib;
dword Flags;
char Firsttime[6];
char FirstDate[9];
byte CombinedBoards[25];
char SysOpComment[80];
char DefaultProto;
short UserRecPtr;
byte Colors[10];
byte FileListType;
char Alias[36];
long MinutesUsed;
char ViewFileName[13];
char MenuToRun[9];
word Timeinbank;
byte TodayCalls;
char LanguageFileN[9];
char Expirationdate[9];
byte CurrentFArea;
byte CurrentMArea;
byte CurrentDoor;
byte DefaultPacker; /* not bit mapped ! 1 = ZIP 2 = ARC 3 = LZH 4 = ARJ */
char LastNewFilesCheck[9];
byte ExtraSpace[403];
};
/* Attrib:
1 Bit 0: MailCheck at logon
2 Bit 1: Newfiles Check at logon
4 Bit 2: No downloadratio
8 Bit 3: Female
16 Bit 4: Delete file after viewing
32 Bit 5: Display file only once
64 Bit 6: File viewed
128 Bit 7: Fullscreen viewer
256 Bit 8: Combined mail check
512 Bit 9: No hotkeys
Bit 10:
Bit 11:
Bit 12:
Bit 13:
Bit 14:
Bit 15:
*/
/* USERS.BBS (UserRecord) */
struct UserRecord
{
char Name[36];
char City[26];
char Password[16];
char DataPhone[13];
char HomePhone[13];
char LastTime[6];
char LastDate[9];
byte Attrib;
dword Flags;
short Credit;
short Pending;
word MsgsPosted;
word HighMsgRead;
word SecLvl;
word Times;
word Ups;
word Downs;
word UpK;
word DownK;
short TodayK;
short Elapsed;
short Len;
word ExtraSpace1;
byte Age;
short ExtraUserrecPtr;
char ExtraSpace2[3];
};
/* Attrib:
bit 0: Deleted user
bit 1: Screen clear codes
bit 2: More prompt
bit 3: ANSI graphics
bit 4: No-Kill
bit 5: Ignore Download Hours
bit 6: ANSI editor
bit 7: Do not disturb mode ON
*/
/* FLSEARCH.BBS (FLSearch) */
struct FLSearchRec
{
char Name[61];
char Directory[80];
short Security;
dword Flags;
short PFilesSec;
dword PFlags;
byte Attrib;
byte Age;
char ListName[68]; /* If begins with * character then the rest
of the string shows the upload path */
char ExtraSpace[30];
};
/* Attrib:
Bit 0 : Exclude from template
Bit 1 : No downloads { Used in template system only }
Bit 2 : No uploads { Used in template system only }
Bit 3 : No virus check
Bit 4 : No dupe scan
Bit 5 : No new files check
Bit 6-7: Unused
*/