/* $Id$ */
-#ifdef OK
-#undef OK
-#endif
-
#define LISTING_FOLLOWS 100
-#define OK 200
+#define CIT_OK 200
#define MORE_DATA 300
#define SEND_LISTING 400
#define ERROR 500
#define QR_READONLY 8192 /* Aide status required to post */
#define QR_MAILBOX 16384 /* Set if this is a private mailbox */
+#define QR2_SYSTEM 1 /* System room; hide by default */
+
#define US_NEEDVALID 1 /* User needs to be validated */
#define US_PERM 4 /* Permanent user */
#define US_LASTOLD 16 /* Print last old message with new */
#define US_EXPERT 32 /* Experienced user */
#define US_UNLISTED 64 /* Unlisted userlog entry */
#define US_NOPROMPT 128 /* Don't prompt after each message */
+#define US_PROMPTCTL 256 /* <N>ext & <S>top work at prompt */
#define US_DISAPPEAR 512 /* Use "disappearing msg prompts" */
#define US_REGIS 1024 /* Registered user */
#define US_PAGINATOR 2048 /* Pause after each screen of text */
#define US_COLOR 16384 /* User wants ANSI color support */
#define US_USER_SET (US_LASTOLD | US_EXPERT | US_UNLISTED | \
US_NOPROMPT | US_DISAPPEAR | US_PAGINATOR | \
- US_FLOORS | US_COLOR )
+ US_FLOORS | US_COLOR | US_PROMPTCTL )
void serv_puts(char *buf);
void serv_gets(char *buf);
+void connection_died(void);