Updated the boilerplate on each file
[citadel.git] / textclient / textclient.h
index 74f70e63a147aead4603b94cd895a6a6359dc256..2a370364861268a9e86f7f62fc10828f3eb93361 100644 (file)
@@ -1,19 +1,17 @@
-/*
- * Copyright (c) 1987-2019 by the citadel.org team
- *
- *  This program is open source software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License version 3.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- */
+// Copyright (c) 1987-2020 by the citadel.org team
+//
+// This program is open source software.  Use, duplication, and/or
+// disclosure are subject to the GNU General Purpose License version 3.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
 
 #define        UDS                     "_UDS_"
 #define DEFAULT_HOST           "localhost"
 #define DEFAULT_PORT           "504"
-#define CLIENT_VERSION          925
+#define CLIENT_VERSION          926
 #define CLIENT_TYPE            0
 
 /* commands we can send to the stty_ctdl() routine */
@@ -56,6 +54,10 @@ enum {
 #define GF_SKIP                1               /* <;S>kip floor mode */
 #define GF_ZAP         2               /* <;Z>ap floor mode */
 
+/* Can messages be entered in this room? */
+#define ENTMSG_OK_NO   0               /* You may not enter messages here */
+#define ENTMSG_OK_YES  1               /* Go ahead! */
+#define ENTMSG_OK_BLOG 2               /* Yes, but warn the user about how blog rooms work */
 
 /*
  * Colors for color() command
@@ -331,6 +333,7 @@ struct ctdlipcmessage {
        char mime_chosen[SIZ];          /* Chosen MIME part to output */
        char content_type[SIZ];         /* How would you like that? */
        char references[SIZ];           /* Thread references */
+       int is_local;                   /* Nonzero if the message originated on the local system */
 };