| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>FORMAT of WFBID.SYS</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 |
WFBID.SYS |
| 10 |
</H1> |
| 11 |
<P> |
| 12 |
<PRE> |
| 13 |
<BIG><B>WFBID.SYS (\FBB\SYSTEM).</B></BIG> |
| 14 |
|
| 15 |
|
| 16 |
This binary file holds the last received BIDs. The number of records of this |
| 17 |
file is defined in the <A HREF="fmtinit.htm">INIT.SRV</A> file. This file is very important and must |
| 18 |
not be edited or changed otherwise the list of the messages could be lost. |
| 19 |
This file can only be opened for reading. |
| 20 |
|
| 21 |
|
| 22 |
It is organized with records, each record containing information on a BID. |
| 23 |
This is a circular file and the first record of the file contains the pointer |
| 24 |
of the last overwritten record in the msg_number field. Never modify this |
| 25 |
file while the BBS is running. |
| 26 |
|
| 27 |
Structure of one record (C language) : |
| 28 |
|
| 29 |
typedef struct { |
| 30 |
|
| 31 |
char mode ; /* 1 Type of message (A,B,P,T) */ |
| 32 |
char fbid[13] ; /* 13 BID of the message */ |
| 33 |
long msg_number ; /* 4 Number of the message */ |
| 34 |
|
| 35 |
} bidfwd ; /* 18 bytes = length of one record */ |
| 36 |
|
| 37 |
In C language, all strings are ended with a NULL (00 hex) character. |
| 38 |
|
| 39 |
|
| 40 |
<A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A> |
| 41 |
|
| 42 |
<A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A> |
| 43 |
|
| 44 |
<FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT> |
| 45 |
|
| 46 |
</PRE> |
| 47 |
</BODY></HTML> |