ttynum.h

Mapping between devices and BBS channels.
This header provides function to map between the physical, UNIX device names users are riding and the convenient, numerical BBS channels.

Original banner, legalese and change history follow.


 *****************************************************************************
 **                                                                         **
 **  FILE:     ttynum.h                                                     **
 **  AUTHORS:  Alexios                                                      **
 **  REVISION: A, July 94                                                   **
 **  PURPOSE:  Interface to ttynum.c                                        **
 **  NOTES:                                                                 **
 **  LEGALESE:                                                              **
 **                                                                         **
 **  This program is free software; you  can redistribute it and/or modify  **
 **  it under the terms of the GNU  General Public License as published by  **
 **  the Free Software Foundation; either version 2 of the License, or (at  **
 **  your option) any later version.                                        **
 **                                                                         **
 **  This program is distributed  in the hope  that it will be useful, but  **
 **  WITHOUT    ANY WARRANTY;   without  even  the    implied warranty  of  **
 **  MERCHANTABILITY or  FITNESS FOR  A PARTICULAR  PURPOSE.   See the GNU  **
 **  General Public License for more details.                               **
 **                                                                         **
 **  You  should have received a copy   of the GNU  General Public License  **
 **  along with    this program;  if   not, write  to  the   Free Software  **
 **  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.              **
 **                                                                         **
 *****************************************************************************


 *
 * $Id: ttynum.h,v 1.3 2001/04/22 14:49:04 alexios Exp $
 *
 * $Log: ttynum.h,v $
 * Revision 1.3  2001/04/22 14:49:04  alexios
 * Merged in leftover 0.99.2 changes and additional bug fixes.
 *
 * Revision 0.6  1999/07/18 21:13:24  alexios
 * Added MetaBBS flag to control whether the MetaBBS client
 * should be enabled for a line.
 *
 * Revision 0.5  1998/12/27 15:19:19  alexios
 * Added some comments and the channel file magic number.
 *
 * Revision 0.4  1997/11/06 20:03:39  alexios
 * Added GPL legalese to the top of this file.
 *
 * Revision 0.3  1997/11/03 00:29:40  alexios
 * Added xlation field to struct channeldef to keep the number
 * of the default translation table for a channel. Removed
 * defines for hardwired xlation tables.
 *
 * Revision 0.2  1997/08/30 12:54:20  alexios
 * Added a config field to allow for the new handling of bbsgetty
 * configuration.
 *
 * Revision 0.1  1997/08/26 15:48:53  alexios
 * First registered revision. Adequate.
 *
 *
 *


o CHANNEL_MAGIC
The channel file magic number
o channeldef
Channel definition.
o Channel definition flags.
Flags controlling default channel behaviour.
o *channels
The channels index, mapping ttys to channels.
o *chan_last
Last referenced element of channels.
o chan_count
Number of channels in channels.
o chan_init
Initialise the channel map.
o chan_getnum
Find the channel number of a device.
o chan_getindex
Find the index of a channel in channels.
o chan_getname
Find the device associated with a channel.
o chan_telnetlinecount
Count number of telnet lines in use.
Author:
Alexios

Alphabetic index



This page was generated with the help of DOC++.