projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work on support for variable sets.
[pspp]
/
src
/
data
/
mrset.h
diff --git
a/src/data/mrset.h
b/src/data/mrset.h
index c531db7a016791227c6bafba44e99e1ba9240a25..30d855ec3d62d43fca4c64c4b2d3f98c3ea4028a 100644
(file)
--- a/
src/data/mrset.h
+++ b/
src/data/mrset.h
@@
-61,8
+61,8
@@
enum mrset_md_cat_source
/* A multiple response set. */
struct mrset
{
/* A multiple response set. */
struct mrset
{
- char *name; /*
Name for syntax. Always begins
with "$". */
- char *label; /* Human-readable label for group. */
+ char *name; /*
UTF-8 encoded name beginning
with "$". */
+ char *label; /* Human-readable
UTF-8
label for group. */
enum mrset_type type; /* Group type. */
struct variable **vars; /* Constituent variables. */
size_t n_vars; /* Number of constituent variables. */
enum mrset_type type; /* Group type. */
struct variable **vars; /* Constituent variables. */
size_t n_vars; /* Number of constituent variables. */
@@
-77,6
+77,10
@@
struct mrset
struct mrset *mrset_clone (const struct mrset *);
void mrset_destroy (struct mrset *);
struct mrset *mrset_clone (const struct mrset *);
void mrset_destroy (struct mrset *);
+char *mrset_is_valid_name__ (const char *name, const char *dict_encoding)
+ WARN_UNUSED_RESULT;
+bool mrset_is_valid_name (const char *name, const char *dict_encoding);
+
bool mrset_ok (const struct mrset *, const struct dictionary *);
#endif /* data/mrset.h */
bool mrset_ok (const struct mrset *, const struct dictionary *);
#endif /* data/mrset.h */