From 79b59f9b30fb6a1fdf8c3efb446271f7cb00d434 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 7 Dec 2023 21:31:49 +0100 Subject: FICS 1.6.2 --- FICS/channel.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 FICS/channel.h (limited to 'FICS/channel.h') diff --git a/FICS/channel.h b/FICS/channel.h new file mode 100644 index 0000000..9de4808 --- /dev/null +++ b/FICS/channel.h @@ -0,0 +1,40 @@ +/* channel.h + * + */ + +/* THIS SOURCE FILE IS NOW OBSOLETE - DAV */ + +/* + fics - An internet chess server. + Copyright (C) 1993 Richard V. Nash + + 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. +*/ + +/* Revision history: + name email yy/mm/dd Change + Richard Nash 93/10/22 Created +*/ + +#ifndef _CHANNEL_H +#define _CHANNEL_H + +#define MAX_CHANNELS 256 + +extern int *channels[MAX_CHANNELS]; +extern int numOn[MAX_CHANNELS]; + +extern void channel_init(void); +extern int on_channel(int, int); +extern int channel_remove(int, int); +extern int channel_add(int, int); + +#endif /* _CHANNEL_H */ -- cgit v1.2.3