summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorfourdan2007-01-29 10:09:59 +0000
committerfourdan2007-01-29 10:09:59 +0000
commit68e3c0ed570ba3e994f8a1c4b20594372fb0b514 (patch)
tree8d6c0d6876340742ea6f49dc9faa40aef9855563 /src/hash.h
parent6fc08ea508e4fa39a9bf7f5495e84a68bd0bf88a (diff)
parentf70181ffe0b37952384ff5e0ce0185541828014f (diff)
downloadivy-c-68e3c0ed570ba3e994f8a1c4b20594372fb0b514.zip
ivy-c-68e3c0ed570ba3e994f8a1c4b20594372fb0b514.tar.gz
ivy-c-68e3c0ed570ba3e994f8a1c4b20594372fb0b514.tar.bz2
ivy-c-68e3c0ed570ba3e994f8a1c4b20594372fb0b514.tar.xz
Rename protocol_v3 as trunk to avoid confusion on protocol version to use.
Diffstat (limited to 'src/hash.h')
-rwxr-xr-xsrc/hash.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/hash.h b/src/hash.h
deleted file mode 100755
index 4ea7731..0000000
--- a/src/hash.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/************************************************************************
- hash.h
- ************************************************************************/
-#ifndef HASH_H
-#define HASH_H
-
-
-typedef unsigned int HASHKEYTYPE;
-typedef struct HASHTABLE_T *HASHTABLE;
-typedef int BOOL;
-
-#define FALSE 0
-#define TRUE 1
-
-extern void hash_usage (void);
-extern BOOL hash_test (void);
-extern HASHTABLE hash_create (unsigned long InitialSize, BOOL KeyIsString);
-extern HASHTABLE hash_destroy (HASHTABLE table);
-extern BOOL hash_add (HASHTABLE table, HASHKEYTYPE Key, const void *Data);
-extern BOOL hash_addstring (HASHTABLE table, char * Key, const void * Data);
-extern void * hash_remove (HASHTABLE table, HASHKEYTYPE Key);
-extern void * hash_lookup (HASHTABLE table, HASHKEYTYPE Key);
-extern size_t hash_count (HASHTABLE table);
-extern void * hash_search (HASHTABLE table, BOOL (*Search)(HASHKEYTYPE key, void *, va_list), ...);
-extern void * hash_searchwithvalist(HASHTABLE table, BOOL (*Search)(HASHKEYTYPE key, void *, va_list), va_list args);
-extern BOOL hash_exists (HASHTABLE table, HASHKEYTYPE Key);
-
-
-#endif