Remove win32 mapi mail from distribution (trunk only)

This commit is contained in:
nethack.allison
2006-10-19 13:26:54 +00:00
parent aed3d37e17
commit 4169a3a308
19 changed files with 22 additions and 785 deletions
-7
View File
@@ -1453,13 +1453,6 @@ E int FDECL(do_play_instrument, (struct obj *));
#ifdef LAN_FEATURES
E void NDECL(init_lan_features);
E char *NDECL(lan_username);
# ifdef LAN_MAIL
E boolean NDECL(lan_mail_check);
E void FDECL(lan_mail_read, (struct obj *));
E void NDECL(lan_mail_init);
E void NDECL(lan_mail_finish);
E void NDECL(lan_mail_terminate);
# endif
#endif
/* ### nttty.c ### */
-48
View File
@@ -1,48 +0,0 @@
/* SCCS Id: @(#)nhlan.h 3.5 1997/04/12 */
/* Copyright (c) Michael Allison, 1997 */
/* NetHack may be freely redistributed. See license for details. */
#ifndef NHLAN_H
#define NHLAN_H
/*
* Here are the LAN features currently implemented:
* LAN_MAIL Mail facility allowing receipt and
* reading of mail.
* LAN_SHARED_BONES Allows bones files to be stored on a
* network share. (Does NOT imply compatibiliy
* between unlike platforms)
*/
# ifdef LAN_FEATURES
# ifdef LAN_MAIL
#define MAIL
#ifndef WIN32
#define MAILCKFREQ 50
#else
/*
* WIN32 port does the real mail lookups in a separate thread
* and the NetHack core code really just checks a flag,
* so that part of it can be done more often. The throttle
* for how often the mail thread should contact the mail
* system is controlled by MAILTHREADFREQ and is expressed
* in milliseconds.
*/
#define MAILCKFREQ 5
#define MAILTHREADFREQ 50000
#endif
#ifndef MAX_BODY_SIZE
#define MAX_BODY_SIZE 1024
#endif
struct lan_mail_struct {
char sender[120];
char subject[120];
boolean body_in_ram; /* TRUE means body in memory not file */
char filename[_MAX_PATH];
char body[MAX_BODY_SIZE];
};
# endif
# endif /*LAN_FEATURES*/
#endif /*NHLAN_H*/
-3
View File
@@ -217,9 +217,6 @@ int _RTLENTRY _EXPFUNC read (int __handle, void _FAR *__buf, unsigned __len);
#ifdef LAN_FEATURES
#define MAX_LAN_USERNAME 20
#define LAN_RO_PLAYGROUND /* not implemented in 3.3.0 */
#define LAN_SHARED_BONES /* not implemented in 3.3.0 */
#include "nhlan.h"
#endif
#ifndef alloca