| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>FORMAT of STATIS.DAT</TITLE> |
| 4 |
</HEAD> |
| 5 |
<BODY BACKGROUND="/back_fbb.jpg"> |
| 6 |
<P> |
| 7 |
<IMG SRC="/fbb.gif" WIDTH="32" HEIGHT="32"> |
| 8 |
<H1 ALIGN=Center> |
| 9 |
STATIS.DAT |
| 10 |
</H1> |
| 11 |
<P> |
| 12 |
<PRE> |
| 13 |
|
| 14 |
<BIG><B>STATIS.DAT (\FBB\SYSTEM).</B></BIG> |
| 15 |
|
| 16 |
This binary file holds the information on all connections. This file is |
| 17 |
very important and must not be edited or changed otherwise the list of the |
| 18 |
connections could be lost. This file can only be opened for reading. |
| 19 |
|
| 20 |
It is organized with records, each record containing information on a |
| 21 |
connection. Never modify this file while the BBS is running. |
| 22 |
|
| 23 |
Structure of one record (C language) : |
| 24 |
|
| 25 |
typedef struct { |
| 26 |
|
| 27 |
char indcnx[7] ; /* 7 Callsign */ |
| 28 |
char port ; /* 1 (Port x 32) + channel */ |
| 29 |
long datcnx ; /* 4 Date of the connection */ |
| 30 |
int tpscnx ; /* 2 duration of the connection */ |
| 31 |
|
| 32 |
} statis ; /* 14 bytes = length of one record */ |
| 33 |
|
| 34 |
Date is given as the number of seconds since january 1st, 1970 00:00. |
| 35 |
|
| 36 |
In C language, all strings are ended with a NULL (00 hex) character. |
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
<A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A> |
| 42 |
|
| 43 |
<A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A> |
| 44 |
|
| 45 |
<FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT> |
| 46 |
|
| 47 |
</PRE> |
| 48 |
</BODY></HTML> |