--- freem/src/freem.h	2025/01/19 02:04:04	1.1.1.1
+++ freem/src/freem.h	2025/03/22 18:43:54	1.4
@@ -1,25 +1,13 @@
 /*
- *                            *
- *                           * *
- *                          *   *
- *                     ***************
- *                      * *       * *
- *                       *  MUMPS  *
- *                      * *       * *
- *                     ***************
- *                          *   *
- *                           * *
- *                            *
- *
- *   freem.h
+ *   $Id: freem.h,v 1.4 2025/03/22 18:43:54 snw Exp $
  *    libfreem data structures and prototypes
  * 
  *    NOTE: Caller must pre-allocate memory for *all* APIs!
  *
  *  
- *   Author: Serena Willis <jpw@coherent-logic.com>
+ *   Author: Serena Willis <snw@coherent-logic.com>
  *    Copyright (C) 1998 MUG Deutschland
- *    Copyright (C) 2020 Coherent Logic Development LLC
+ *    Copyright (C) 2020, 2025 Coherent Logic Development LLC
  *
  *
  *   This file is part of FreeM.
@@ -37,6 +25,16 @@
  *   You should have received a copy of the GNU Affero Public License
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *
+ *   $Log: freem.h,v $
+ *   Revision 1.4  2025/03/22 18:43:54  snw
+ *   Make STRLEN 255 chars and add BIGSTR macro for larger buffers
+ *
+ *   Revision 1.3  2025/03/09 19:14:25  snw
+ *   First phase of REUSE compliance and header reformat
+ *
+ *
+ * SPDX-FileCopyrightText:  (C) 2025 Coherent Logic Development LLC
+ * SPDX-License-Identifier: AGPL-3.0-or-later 
  **/
 
 #ifndef _LIBFREEM_H
@@ -46,7 +44,11 @@
 #include <sys/types.h>
 
 #if !defined(STRLEN)
-# define STRLEN 65535
+# define STRLEN 255
+#endif
+
+#if !defined(BIGSTR)
+# define BIGSTR 65535
 #endif
 
 #define MREF_RT_LOCAL 0
@@ -75,7 +77,7 @@ typedef struct freem_ref_t {
      * The 'name' field is the name of the local variable,
      * global variable, or SSV.
      */
-    char name[256];    
+    char name[STRLEN];    
 
     /*
      * Returned data goes in a string, so it is important to make sure
@@ -86,7 +88,7 @@ typedef struct freem_ref_t {
     short status;
 
     unsigned int subscript_count;
-    char subscripts[255][256];
+    char subscripts[255][STRLEN];
 
 } freem_ref_t;