variable: Introduce and use new function var_get_encoding().
[pspp] / src / data / variable.h
index 0b619a497ed1eefa04a1dac97ec4be20afac4b80..d730768e650407fbcaff63fa6649af2e2659a1f7 100644 (file)
@@ -178,6 +178,9 @@ struct attrset *var_get_attributes (const struct variable *);
 void var_set_attributes (struct variable *, const struct attrset *);
 bool var_has_attributes (const struct variable *);
 
+/* Encoding. */
+const char *var_get_encoding (const struct variable *);
+
 /* Function types. */
 typedef bool var_predicate_func (const struct variable *);