In file sysstruct.h:

struct sysvar

System variables blocks.

[more]char bbstitle[52]
Full name of the BBS
[more]char company[48]
Company owning the BBS, if any
[more]char address1[48]
BBS mailing address, line 1 of 2
[more]char address2[48]
BBS mailing address, line 2 of 2
[more]char city[48]
City where BBS is
[more]char dataphone[48]
Main dialup phone
[more]char voicephone[48]
Main voice phone
[more]char livephone[48]
Dialup for paid users
[more]uint32 idlezap
Inactivity timeout (minutes, 0=off)
[more]uint32 saverate
Minutes between saving sysvar to disk
[more]char chargehour[32]
Charge per hour (textual description)
[more]char mincredits[32]
Minimum time users can buy
[more]char minmoney[32]
Minimum charge on users
[more]uint32 flags
Unknown
[more]int32 pswexpiry
Password lifetime (days)
[more]bbskey_t pagekey
Key needed to page
[more]bbskey_t pgovkey
Key needed to override page restrictions
[more]bbskey_t pallkey
Key needed to page all users
[more]int32 tcredspaid
Total paid credits posted ever
[more]int32 tcreds
Total credits (paid+free) posted ever
[more]uint32 timever
Total on-line time ever
[more]uint32 filesupl
Total number of files uploaded ever
[more]uint32 filesdnl
Total number of files downloaded ever
[more]uint32 bytesupl
Total bytes * 100 uploaded ever
[more]uint32 bytesdnl
Total bytes * 100 downloaded ever
[more]uint32 sigmessages
Total Club messages written
[more]uint32 emessages
Total Email messages written
[more]uint32 nmessages
Total outgoing (net) messages written
[more]uint32 connections
Total number of connections ever
[more]uint32 incnetmsgs
Total incoming net messages received
[more]uint32 emsgslive
Email messages active at this time
[more]uint32 clubmsgslive
Club messages active at this time
[more]char magic[4]
Magic number (SYSVAR_MAGIC)


Documentation

System variables blocks.

This is a very old and almost vestigial part of Megistos. It was modeled after the corresponding part of the Major BBS. However, Megistos' design was very different from the design that imposed the system variable block on the Major BBS. As a result, this part of the system really shows its age. It should be removed at some point, for a very large number of reasons:

Given all that, I'm not going to document the entire structure.

ochar bbstitle[52]
Full name of the BBS

ochar company[48]
Company owning the BBS, if any

ochar address1[48]
BBS mailing address, line 1 of 2

ochar address2[48]
BBS mailing address, line 2 of 2

ochar city[48]
City where BBS is

ochar dataphone[48]
Main dialup phone

ochar voicephone[48]
Main voice phone

ochar livephone[48]
Dialup for paid users

ouint32 idlezap
Inactivity timeout (minutes, 0=off)

ouint32 saverate
Minutes between saving sysvar to disk

ochar chargehour[32]
Charge per hour (textual description)

ochar mincredits[32]
Minimum time users can buy

ochar minmoney[32]
Minimum charge on users

ouint32 flags
Unknown

oint32 pswexpiry
Password lifetime (days)

obbskey_t pagekey
Key needed to page

obbskey_t pgovkey
Key needed to override page restrictions

obbskey_t pallkey
Key needed to page all users

oint32 tcredspaid
Total paid credits posted ever

oint32 tcreds
Total credits (paid+free) posted ever

ouint32 timever
Total on-line time ever

ouint32 filesupl
Total number of files uploaded ever

ouint32 filesdnl
Total number of files downloaded ever

ouint32 bytesupl
Total bytes * 100 uploaded ever

ouint32 bytesdnl
Total bytes * 100 downloaded ever

ouint32 sigmessages
Total Club messages written

ouint32 emessages
Total Email messages written

ouint32 nmessages
Total outgoing (net) messages written

ouint32 connections
Total number of connections ever

ouint32 incnetmsgs
Total incoming net messages received

ouint32 emsgslive
Email messages active at this time

ouint32 clubmsgslive
Club messages active at this time

ochar magic[4]
Magic number (SYSVAR_MAGIC)

Alphabetic index



This page was generated with the help of DOC++.