This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] / Robust / src / Runtime / DSTM / interface / llookup.h
diff --git a/Robust/src/Runtime/DSTM/interface/llookup.h b/Robust/src/Runtime/DSTM/interface/llookup.h
deleted file mode 100644 (file)
index 9cc9452..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef _LLOOKUP_H_
-#define _LLOOKUP_H_
-
-#define LOADFACTOR 0.75
-#define HASH_SIZE 100
-
-typedef struct hashlistnode {
-       unsigned int oid;
-       unsigned int mid;
-       void *val;// points to the object header structure
-       struct hashlistnode *next;
-} lhashlistnode_t;
-
-typedef struct hashtable {
-       lhashlistnode_t *table; // points to beginning of hash table
-       unsigned int size;
-       unsigned int numelements;
-       float loadfactor;
-} lhashtable_t;
-
-/* Prototypes for hash*/
-lhashtable_t *lhashCreate(unsigned int size, float loadfactor);
-unsigned int lhashFunction(lhashtable_t *table, unsigned int oid);
-void lhashInsert(lhashtable_t *table, unsigned int oid, void *val, unsigned int mid);
-void *lhashSearch(lhashtable_t *table, unsigned int oid); //returns val, NULL if not found
-int lhashRemove(lhashtable_t *table, unsigned int oid); //returns -1 if not found
-void lhashResize(lhashtable_t *table, unsigned int newsize);
-/* end hash */
-
-#endif
-