summaryrefslogtreecommitdiff
path: root/bpqchat.h
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2022-11-23 10:56:20 +0000
committerg8bpq <john.wiseman@cantab.net>2022-11-23 10:56:20 +0000
commitbe0f2b85761c40cbdc7339bbe722fad2d5e1eca4 (patch)
tree540662950bf06baabe89479a73adede3b484c392 /bpqchat.h
parent6c6848bdcbedcee989fefdd8d39105e7022aeae3 (diff)
6.0.23.2923.30
Diffstat (limited to 'bpqchat.h')
-rw-r--r--bpqchat.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/bpqchat.h b/bpqchat.h
index 69cfb47..db46fd3 100644
--- a/bpqchat.h
+++ b/bpqchat.h
@@ -400,11 +400,10 @@ typedef struct ChatConnectionInfo_S
// and data sucked out under both terminal and system flow control. PACLEN is
// enfored when sending to node.
- UCHAR OutputQueue[10000]; // Messages to user
- int OutputQueueLength; // Total Malloc'ed size. Also Put Pointer for next Message
+ UCHAR * OutputQueue; // Messages to user
+ int OutputQueueSize; // Total Malloc'ed size.
+ int OutputQueueLength; // Put Pointer for next Message
int OutputGetPointer; // Next byte to send. When Getpointer = Queue Length all is sent - free the buffer and start again.
-
- int CloseAfterFlush; // Close session when all sent. Set to 100ms intervals to wait.
BOOL sysop; // Set if user is authenticated as a sysop
BOOL Secure_Session; // Set if Local Terminal, or Telnet connect with SYSOP status
@@ -550,6 +549,16 @@ struct ConsoleInfo
};
+struct HistoryRec
+{
+ struct HistoryRec * next;
+ time_t Time;
+ char * Topic;
+ char * Message;
+};
+
+extern struct HistoryRec * History;
+extern int HistoryCount;
extern USER *user_hd;