NHDT->ANH, nethack->anethack, nhdat->anhdat
[aNetHack.git] / include / mail.h
blobcd1404bb626528fb509a1c7a7c0eab58ca43cc2e
1 /* aNetHack 0.0.1 mail.h $ANH-Date: 1432512777 2015/05/25 00:12:57 $ $ANH-Branch: master $:$ANH-Revision: 1.8 $ */
2 /* aNetHack may be freely redistributed. See license for details. */
4 /* used by ckmailstatus() to pass information to the mail-daemon in newmail()
5 */
7 #ifndef MAIL_H
8 #define MAIL_H
10 #define MSG_OTHER 0 /* catch-all; none of the below... */
11 #define MSG_MAIL 1 /* unimportant, uninteresting mail message */
12 #define MSG_CALL 2 /* annoying phone/talk/chat-type interruption */
14 struct mail_info {
15 int message_typ; /* MSG_foo value */
16 const char *display_txt; /* text for daemon to verbalize */
17 const char *object_nam; /* text to tag object with */
18 const char *response_cmd; /* command to eventually execute */
21 #endif /* MAIL_H */