00001 /* SCCS Id: @(#)mail.h 3.4 1991/10/11 */ 00002 /* NetHack may be freely redistributed. See license for details. */ 00003 00004 /* used by ckmailstatus() to pass information to the mail-daemon in newmail() */ 00005 00006 #ifndef MAIL_H 00007 #define MAIL_H 00008 00009 #define MSG_OTHER 0 /* catch-all; none of the below... */ 00010 #define MSG_MAIL 1 /* unimportant, uninteresting mail message */ 00011 #define MSG_CALL 2 /* annoying phone/talk/chat-type interruption */ 00012 00013 struct mail_info { 00014 int message_typ; /* MSG_foo value */ 00015 const char *display_txt; /* text for daemon to verbalize */ 00016 const char *object_nam; /* text to tag object with */ 00017 const char *response_cmd; /* command to eventually execute */ 00018 }; 00019 00020 #endif /* MAIL_H */