1 /* SCCS Id: @(#)nhlan.h 3.4 1997/04/12 */
2 /* Copyright (c) Michael Allison, 1997 */
3 /* NetHack may be freely redistributed. See license for details. */
8 * Here are the LAN features currently implemented:
9 * LAN_MAIL Mail facility allowing receipt and
11 * LAN_SHARED_BONES Allows bones files to be stored on a
12 * network share. (Does NOT imply compatibiliy
13 * between unlike platforms)
23 * WIN32 port does the real mail lookups in a separate thread
24 * and the NetHack core code really just checks a flag,
25 * so that part of it can be done more often. The throttle
26 * for how often the mail thread should contact the mail
27 * system is controlled by MAILTHREADFREQ and is expressed
31 #define MAILTHREADFREQ 50000
35 #define MAX_BODY_SIZE 1024
38 struct lan_mail_struct {
41 boolean body_in_ram; /* TRUE means body in memory not file */
42 char filename[_MAX_PATH];
43 char body[MAX_BODY_SIZE];
47 # endif /*LAN_FEATURES*/