summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/services.h b/include/services.h
index 874c53675..d5596c833 100644
--- a/include/services.h
+++ b/include/services.h
@@ -1023,6 +1023,35 @@ typedef struct ignore_data {
/*************************************************************************/
+/* News stuff */
+
+#define MSG_MAX 11
+
+enum NewsType
+{
+ NEWS_LOGON,
+ NEWS_RANDOM,
+ NEWS_OPER
+};
+
+struct newsmsgs
+{
+ NewsType type;
+ const char *name;
+ int msgs[MSG_MAX + 1];
+};
+
+struct NewsItem
+{
+ NewsType type;
+ uint32 num;
+ std::string Text;
+ char who[NICKMAX];
+ time_t time;
+};
+
+/*************************************************************************/
+
/* Mail data */
struct mailinfo_ {