Implemented support for very long strings a la spss v13/v14
[pspp-builds.git] / src / data / variable.h
index fa7c0d6df0dff6410e1e7f0d0aece0c959171a96..2dfe56482b4224b3ad79953a63af6c28ca709d47 100644 (file)
@@ -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 */