00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _EGG_MOD_NOTES_NOTES_H
00026 #define _EGG_MOD_NOTES_NOTES_H
00027
00028 #define NOTES_IGNKEY "NOTESIGNORE"
00029
00030
00031
00032 #define NOTES_USAGE MISC_USAGE
00033 #define NOTES_USERF_UNKNOWN USERF_UNKNOWN
00034 #define NOTES_FORWARD_TO get_language(0xc000)
00035 #define NOTES_SWITCHED_NOTES get_language(0xc001)
00036 #define NOTES_EXPIRED get_language(0xc002)
00037 #define NOTES_FORWARD_NOTONLINE get_language(0xc003)
00038 #define NOTES_UNSUPPORTED get_language(0xc004)
00039 #define NOTES_NOTES2MANY get_language(0xc005)
00040 #define NOTES_NOTEFILE_FAILED get_language(0xc006)
00041 #define NOTES_NOTEFILE_UNREACHABLE get_language(0xc007)
00042 #define NOTES_STORED_MESSAGE get_language(0xc008)
00043 #define NOTES_NO_MESSAGES get_language(0xc009)
00044 #define NOTES_EXPIRE_TODAY get_language(0xc00a)
00045 #define NOTES_EXPIRE_XDAYS get_language(0xc00b)
00046 #define NOTES_WAITING get_language(0xc00c)
00047 #define NOTES_NOT_THAT_MANY get_language(0xc00d)
00048 #define NOTES_DCC_USAGE_READ get_language(0xc00e)
00049 #define NOTES_FAILED_CHMOD get_language(0xc00f)
00050 #define NOTES_ERASED_ALL get_language(0xc010)
00051 #define NOTES_ERASED get_language(0xc011)
00052 #define NOTES_LEFT get_language(0xc012)
00053 #define NOTES_MAYBE get_language(0xc013)
00054 #define NOTES_NOTTO_BOT get_language(0xc014)
00055 #define NOTES_OUTSIDE get_language(0xc015)
00056 #define NOTES_DELIVERED get_language(0xc016)
00057 #define NOTES_FORLIST get_language(0xc017)
00058
00059 #define NOTES_WAITING2 get_language(0xc019)
00060
00061 #define NOTES_STORED get_language(0xc01b)
00062 #define NOTES_IGN_OTHERS get_language(0xc01c)
00063 #define NOTES_UNKNOWN_USER get_language(0xc01d)
00064 #define NOTES_IGN_NEW get_language(0xc01e)
00065 #define NOTES_IGN_ALREADY get_language(0xc01f)
00066 #define NOTES_IGN_REM get_language(0xc020)
00067 #define NOTES_IGN_NOTFOUND get_language(0xc021)
00068 #define NOTES_IGN_NONE get_language(0xc022)
00069 #define NOTES_IGN_FOR get_language(0xc023)
00070 #define NOTES_NO_SUCH_USER get_language(0xc024)
00071 #define NOTES_FWD_OWNER get_language(0xc025)
00072 #define NOTES_FWD_FOR get_language(0xc026)
00073 #define NOTES_FWD_BOTNAME get_language(0xc027)
00074 #define NOTES_FWD_CHANGED get_language(0xc028)
00075 #define NOTES_MUSTBE get_language(0xc029)
00076 #define NOTES_DCC_USAGE_READ2 get_language(0xc02a)
00077 #define NOTES_WAITING_NOTICE get_language(0xc02b)
00078
00079 #ifdef MAKING_NOTES
00080 static int get_note_ignores(struct userrec *, char ***);
00081 static int add_note_ignore(struct userrec *, char *);
00082 static int del_note_ignore(struct userrec *, char *);
00083 static int match_note_ignore(struct userrec *, char *);
00084 static void notes_read(char *, char *, char *, int);
00085 static void notes_del(char *, char *, char *, int);
00086 static void fwd_display(int, struct user_entry *);
00087 #endif
00088
00089 #endif