You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA. */
#ifndef DICTIONARY_H
#define DICTIONARY_H
struct variable *dict_create_var (struct dictionary *, const char *,
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 *);
-void dict_rename_var (struct dictionary *, struct variable *, const char *);
+struct variable *dict_clone_var_assert (struct dictionary *,
+ const struct variable *, const char *);
struct variable *dict_lookup_var (const struct dictionary *, const char *);
struct variable *dict_lookup_var_assert (const struct dictionary *,
void dict_delete_var (struct dictionary *, struct variable *);
void dict_delete_vars (struct dictionary *,
struct variable *const *, size_t count);
+void dict_reorder_var (struct dictionary *d, struct variable *v,
+ size_t new_index);
void dict_reorder_vars (struct dictionary *,
struct variable *const *, size_t count);
+void dict_rename_var (struct dictionary *, struct variable *, const char *);
int dict_rename_vars (struct dictionary *,
struct variable **, char **new_names,
size_t count, char **err_name);
const char *name);
void dict_clear_vectors (struct dictionary *);
+void dict_assign_short_names (struct dictionary *);
+
#endif /* dictionary.h */