40 |
struct variable *dict_create_var (struct dictionary *, const char *, |
struct variable *dict_create_var (struct dictionary *, const char *, |
41 |
int width); |
int width); |
42 |
|
|
|
struct variable *dict_create_var_from_short (struct dictionary *d, |
|
|
const char *shortname, |
|
|
int width); |
|
|
|
|
43 |
struct variable *dict_create_var_assert (struct dictionary *, const char *, |
struct variable *dict_create_var_assert (struct dictionary *, const char *, |
44 |
int width); |
int width); |
45 |
struct variable *dict_clone_var (struct dictionary *, const struct variable *, |
struct variable *dict_clone_var (struct dictionary *, const struct variable *, |
46 |
const char *shortname, const char *longname); |
const char *); |
47 |
void dict_rename_var (struct dictionary *, struct variable *, const char *); |
struct variable *dict_clone_var_assert (struct dictionary *, |
48 |
|
const struct variable *, const char *); |
49 |
|
|
50 |
struct variable *dict_lookup_var (const struct dictionary *, const char *); |
struct variable *dict_lookup_var (const struct dictionary *, const char *); |
51 |
struct variable *dict_lookup_var_assert (const struct dictionary *, |
struct variable *dict_lookup_var_assert (const struct dictionary *, |
54 |
void dict_delete_var (struct dictionary *, struct variable *); |
void dict_delete_var (struct dictionary *, struct variable *); |
55 |
void dict_delete_vars (struct dictionary *, |
void dict_delete_vars (struct dictionary *, |
56 |
struct variable *const *, size_t count); |
struct variable *const *, size_t count); |
57 |
|
void dict_reorder_var (struct dictionary *d, struct variable *v, |
58 |
|
size_t new_index); |
59 |
void dict_reorder_vars (struct dictionary *, |
void dict_reorder_vars (struct dictionary *, |
60 |
struct variable *const *, size_t count); |
struct variable *const *, size_t count); |
61 |
|
void dict_rename_var (struct dictionary *, struct variable *, const char *); |
62 |
int dict_rename_vars (struct dictionary *, |
int dict_rename_vars (struct dictionary *, |
63 |
struct variable **, char **new_names, |
struct variable **, char **new_names, |
64 |
size_t count, char **err_name); |
size_t count, char **err_name); |
105 |
const char *name); |
const char *name); |
106 |
void dict_clear_vectors (struct dictionary *); |
void dict_clear_vectors (struct dictionary *); |
107 |
|
|
108 |
void dict_get_varname_block(const struct dictionary *dict, char **buf, int *size); |
void dict_assign_short_names (struct dictionary *); |
|
|
|
|
void dict_add_longvar_entry(struct dictionary *d, const char *name, |
|
|
const char *longname); |
|
|
|
|
|
|
|
|
|
|
109 |
|
|
110 |
#endif /* dictionary.h */ |
#endif /* dictionary.h */ |