projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make-file: Pass O_BINARY or O_TEXT to open() call in replace_file_start().
[pspp]
/
src
/
data
/
value-labels.h
diff --git
a/src/data/value-labels.h
b/src/data/value-labels.h
index 6c13ec9a5088b4104f898603aa130c9edf3613e0..61a42cff23f973a17c7f3aa974da48dea894f65b 100644
(file)
--- a/
src/data/value-labels.h
+++ b/
src/data/value-labels.h
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2009, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2009, 2011
, 2012
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-93,6
+93,8
@@
size_t val_labs_count (const struct val_labs *);
const char *val_labs_find (const struct val_labs *, const union value *);
struct val_lab *val_labs_lookup (const struct val_labs *,
const union value *);
const char *val_labs_find (const struct val_labs *, const union value *);
struct val_lab *val_labs_lookup (const struct val_labs *,
const union value *);
+const union value *val_labs_find_value (const struct val_labs *,
+ const char *label);
/* Basic properties. */
size_t val_labs_count (const struct val_labs *);
/* Basic properties. */
size_t val_labs_count (const struct val_labs *);
@@
-111,4
+113,8
@@
const struct val_lab *val_labs_next (const struct val_labs *,
const struct val_lab *);
const struct val_lab **val_labs_sorted (const struct val_labs *);
const struct val_lab *);
const struct val_lab **val_labs_sorted (const struct val_labs *);
+/* Properties of entire sets. */
+unsigned int val_labs_hash (const struct val_labs *, unsigned int basis) WARN_UNUSED_RESULT;
+bool val_labs_equal (const struct val_labs *, const struct val_labs *);
+
#endif /* data/value-labels.h */
#endif /* data/value-labels.h */