projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle case of a lookup table as the active file.
[pspp]
/
src
/
hash.h
diff --git
a/src/hash.h
b/src/hash.h
index 9d7dca9d64303459d391ef9dff559c432fe7b5a7..e426483aaf10595f0a534098a36b98ade4ad18e8 100644
(file)
--- a/
src/hash.h
+++ b/
src/hash.h
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
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., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#if !hash_h
#define hash_h 1
#if !hash_h
#define hash_h 1
@@
-35,6
+35,7
@@
struct hsh_iterator
/* Hash functions. */
unsigned hsh_hash_bytes (const void *, size_t);
unsigned hsh_hash_string (const char *);
/* Hash functions. */
unsigned hsh_hash_bytes (const void *, size_t);
unsigned hsh_hash_string (const char *);
+unsigned hsh_hash_case_string (const char *);
unsigned hsh_hash_int (int);
unsigned hsh_hash_double (double);
unsigned hsh_hash_int (int);
unsigned hsh_hash_double (double);
@@
-44,8
+45,8
@@
struct hsh_table *hsh_create (int m, hsh_compare_func *,
void *aux);
void hsh_clear (struct hsh_table *);
void hsh_destroy (struct hsh_table *);
void *aux);
void hsh_clear (struct hsh_table *);
void hsh_destroy (struct hsh_table *);
-void **hsh_sort (struct hsh_table *);
-void **hsh_data (struct hsh_table *);
+void *
const
*hsh_sort (struct hsh_table *);
+void *
const
*hsh_data (struct hsh_table *);
void **hsh_sort_copy (struct hsh_table *);
void **hsh_data_copy (struct hsh_table *);
void **hsh_sort_copy (struct hsh_table *);
void **hsh_data_copy (struct hsh_table *);