[BACK]Return to network.h CVS log [TXT][DIR] Up to [contributed] / early-roguelike / xrogue

Annotation of early-roguelike/xrogue/network.h, Revision 1.1.1.1

1.1       rubenllo    1: /*
                      2:     network.h  -  networking setup
                      3:
                      4:     XRogue: Expeditions into the Dungeons of Doom
                      5:     Copyright (C) 1991 Robert Pietkivitch
                      6:     All rights reserved.
                      7:
                      8:     Based on "Advanced Rogue"
                      9:     Copyright (C) 1984, 1985 Michael Morgan, Ken Dalka and AT&T
                     10:     All rights reserved.
                     11:
                     12:     See the file LICENSE.TXT for full copyright and licensing information.
                     13: */
                     14:
                     15: /*
                     16:  * Note that networking is set up for machines that can communicate
                     17:  * via some system such as uucp.  The mechanism listed here uses uux
                     18:  * and assumes that the target machine allows access to the game via
                     19:  * the uux command.  NETCOMMAND must be defined if networking is desired.
                     20:  */
                     21:
                     22: /* #undef  NETCOMMAND "uux - -n '%s!%s -u' >/dev/null 2>&1" */
                     23: /* #define NETCOMMAND "usend -s -d%s -uNoLogin -!'%s -u' - 2>/dev/null" */
                     24: #define NETCOMMAND ""
                     25:
                     26: /* Networking information -- should not vary among networking machines */
                     27:
                     28: struct network {
                     29:     char *system;
                     30:     char *rogue;
                     31: };
                     32: extern struct network Network[];
                     33: extern unsigned long netread(int *error, int size, FILE *stream);
                     34: extern int netwrite(unsigned long value, int size, FILE *stream);
                     35:

CVSweb