Fix problems with uniqueness of short names in system files with very
[pspp-builds.git] / src / data / variable.h
index 9cc2b844c9698e08d8ecea96f059cc11fcf332a3..31b046bcf98352aaed8a49fe16413d8b325fa2f4 100644 (file)
@@ -143,9 +143,10 @@ void var_set_leave (struct variable *, bool leave);
 bool var_must_leave (const struct variable *);
 
 /* Short names. */
-const char *var_get_short_name (const struct variable *);
-void var_set_short_name (struct variable *, const char *);
-void var_clear_short_name (struct variable *);
+size_t var_get_short_name_cnt (const struct variable *);
+const char *var_get_short_name (const struct variable *, size_t idx);
+void var_set_short_name (struct variable *, size_t, const char *);
+void var_clear_short_names (struct variable *);
 
 /* Relationship with dictionary. */
 size_t var_get_dict_index (const struct variable *);