HEARD.BIN

HEARD.BIN (\FBB\SYSTEM)

This file holds the callsigns of stations heard on each port.

 This binary file holds the information on heard callsigns. This file 
must not be edited or changed. This file can only be opened for reading.

 It is organized with records, each record containing information on a
heard callsign. Never modify this file while the BBS is running.

 Structure of one record (C language) :

typedef struct 
{
	char	call[7]  ;  /* 7  Callsign                        */
	char	num      ;  /* 1  SSID                            */

} indicat ;

typedef struct {

  indicat  callsign  ;  /* 8   Callsign + SSID                 */
  long     first     ;  /* 4   Date of first heard             */
  long     last      ;  /* 4   Date of last heard              */
  ushort   nb        ;  /* 2   number of heards                */

} Heard              ;  /* 18  bytes = length of one record    */

Date is given as the number of seconds since january 1st, 1970 00:00.

In C language, all strings are ended with a NULL (00 hex) character.






This page was last updated