OSDN Git Service

upgrade to 3.6.1
[jnethack/source.git] / include / mail.h
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. */
4
5 /* used by ckmailstatus() to pass information to the mail-daemon in newmail()
6  */
7
8 #ifndef MAIL_H
9 #define MAIL_H
10
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 */
14
15 struct mail_info {
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 */
20 };
21
22 #endif /* MAIL_H */