Implemented long variable names a la spss V12.
[pspp-builds.git] / src / dictionary.h
index f375ecc63c7827abcc2ad648e7c8972d353876e7..e5badf2731d7c2dcb3a40250b24452f17c5bfe81 100644 (file)
@@ -39,10 +39,15 @@ void dict_get_vars (const struct dictionary *,
 
 struct variable *dict_create_var (struct dictionary *, const char *,
                                   int width);
+
+struct variable *dict_create_var_from_short (struct dictionary *d, 
+                                            const char *shortname, 
+                                            int width);
+
 struct variable *dict_create_var_assert (struct dictionary *, const char *,
                                   int width);
 struct variable *dict_clone_var (struct dictionary *, const struct variable *,
-                                 const char *);
+                                 const char *shortname, const char *longname);
 void dict_rename_var (struct dictionary *, struct variable *, const char *);
 
 struct variable *dict_lookup_var (const struct dictionary *, const char *);
@@ -100,4 +105,12 @@ const struct vector *dict_lookup_vector (const struct dictionary *,
                                          const char *name);
 void dict_clear_vectors (struct dictionary *);
 
+void dict_get_varname_block(const struct dictionary *dict, char **buf, int *size);
+
+void dict_add_longvar_entry(struct dictionary *d, const char *name, 
+                           const char *longname);
+
+
+
+
 #endif /* dictionary.h */