# STATIS.DAT

    STATIS.DAT (\FBB\SYSTEM).

     This binary file holds the information on all connections. This file is
    very important and must not be edited or changed otherwise the list of the
    connections could be lost. This file can only be opened for reading.

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

     Structure of one record (C language) :

    typedef struct {

      char  indcnx[7]    ;  /* 7   Callsign                        */
      char  port         ;  /* 1   (Port x 32) + channel           */
      long  datcnx       ;  /* 4   Date of the connection          */
      int   tpscnx       ;  /* 2   duration of the connection      */

    } statis             ;  /* 14  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