1 /* NetHack 3.6 mail.h $NHDT-Date: 1524689515 2018/04/25 20:51:55 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.9 $ */
2 /* Copyright (c) 2015 by Kenneth Lorber */
3 /* NetHack may be freely redistributed. See license for details. */
5 /* used by ckmailstatus() to pass information to the mail-daemon in newmail()
11 #define MSG_OTHER 0 /* catch-all; none of the below... */
12 #define MSG_MAIL 1 /* unimportant, uninteresting mail message */
13 #define MSG_CALL 2 /* annoying phone/talk/chat-type interruption */
16 int message_typ; /* MSG_foo value */
17 const char *display_txt; /* text for daemon to verbalize */
18 const char *object_nam; /* text to tag object with */
19 const char *response_cmd; /* command to eventually execute */