| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>FORMAT of INF.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 |
INF.SYS |
| 10 |
</H1> |
| 11 |
<P> |
| 12 |
<PRE><BIG><B>INF.SYS file (\FBB\SYSTEM).</B></BIG> |
| 13 |
|
| 14 |
This binary file holds the information on all users of the BBS. This file |
| 15 |
is very important and must not be edited or changed otherwise the list of the |
| 16 |
users could be lost. This file can only be opened for reading. |
| 17 |
|
| 18 |
It is organized with records, each record containing information on a user. |
| 19 |
Never modify this file while the BBS is running. |
| 20 |
|
| 21 |
Structure of one record (C language) : |
| 22 |
|
| 23 |
#define uchar unsigned char |
| 24 |
|
| 25 |
typedef struct { /* Callsign structure used in info */ |
| 26 |
|
| 27 |
char callsign[7] ; |
| 28 |
char ssid ; |
| 29 |
|
| 30 |
} indicat ; |
| 31 |
|
| 32 |
typedef struct { |
| 33 |
|
| 34 |
indicat indic ; /* 8 Callsign */ |
| 35 |
indicat relai[8] ; /* 64 Digis path */ |
| 36 |
long lastmes ; /* 4 Last L number */ |
| 37 |
long nbcon ; /* 4 Number of connexions */ |
| 38 |
long hcon ; /* 4 Last connexion date */ |
| 39 |
long lastyap ; /* 4 Last YN date */ |
| 40 |
unsigned flags ; /* 2 Flags */ |
| 41 |
unsigned on_base ; /* 2 ON Base number */ |
| 42 |
uchar nbl ; /* 1 Lines paging */ |
| 43 |
uchar lang ; /* 1 Language */ |
| 44 |
long newbanner ; /* 4 Date of new banner (lang.NEW)*/ |
| 45 |
ushort download ; /* 2 Download size in KB */ |
| 46 |
char free[20] ; /* 20 Reserved */ |
| 47 |
char thema ; /* 1 Current thema selection */ |
| 48 |
char nom[18] ; /* 18 1st Name */ |
| 49 |
char prenom[13]; /* 13 Christian name */ |
| 50 |
char adres[61] ; /* 61 Address */ |
| 51 |
char ville[31] ; /* 31 City */ |
| 52 |
char teld[13] ; /* 13 home phone */ |
| 53 |
char telp[13] ; /* 13 job phone */ |
| 54 |
char home[41] ; /* 41 home BBS */ |
| 55 |
char qra[7] ; /* 7 Qth Locator */ |
| 56 |
char priv[13] ; /* 13 PRIV directory */ |
| 57 |
char filtre[7] ; /* 7 LC choice filter */ |
| 58 |
char pass[13] ; /* 13 Password */ |
| 59 |
char zip[9] ; /* 9 Zipcode */ |
| 60 |
|
| 61 |
} info ; /* 360 bytes = lenght of one record */ |
| 62 |
|
| 63 |
Dates are given as the number of seconds since january 1st, 1970 00:00. |
| 64 |
|
| 65 |
In C language, all strings are ended with a NULL (00 hex) character. |
| 66 |
|
| 67 |
|
| 68 |
<A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A> |
| 69 |
|
| 70 |
<A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A> |
| 71 |
|
| 72 |
<FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT> |
| 73 |
|
| 74 |
</PRE> |
| 75 |
</BODY></HTML> |