Continue reforming procedure execution. In this phase, add some new,
[pspp-builds.git] / src / data / variable.h
index 3a5015be5dedb6c2a92c98bfa75168e570c0c6fd..2dfe56482b4224b3ad79953a63af6c28ca709d47 100644 (file)
@@ -64,7 +64,7 @@ struct variable
 
     /* Case information. */
     int fv, nv;                        /* Index into `value's, number of values. */
-    bool reinit;                /* True: reinitialize; false: leave. */
+    bool leave;                 /* Leave value from case to case? */
 
     /* Data for use by containing dictionary. */
     int index;                 /* Dictionary index. */
@@ -240,4 +240,16 @@ int parse_mixed_vars_pool (struct pool *,
 const char * var_to_string(const struct variable *var);
 
 
+/* Two complementary functions for dealing with 
+   Very Long String variables */
+
+void copy_demangle (char *dst, size_t dst_size,
+                   const char *src, size_t src_size);
+
+void copy_mangle (char *dst, size_t dst_size,
+                 const char *src, size_t src_size);
+
+int width_to_bytes(int width);
+
+
 #endif /* !variable.h */