summaryrefslogtreecommitdiff
path: root/apps/drwho/Hash_Table.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /apps/drwho/Hash_Table.h
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-pre-subset.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'apps/drwho/Hash_Table.h')
-rw-r--r--apps/drwho/Hash_Table.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/apps/drwho/Hash_Table.h b/apps/drwho/Hash_Table.h
deleted file mode 100644
index 44f5ea769fc..00000000000
--- a/apps/drwho/Hash_Table.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// drwho
-//
-// = FILENAME
-// HT_Server.h
-//
-// = AUTHOR
-// Douglas C. Schmidt
-//
-// ============================================================================
-
-#ifndef _HASH_TABLE_H
-#define _HASH_TABLE_H
-
-#include "Search_Struct.h"
-
-class Hash_Table : public Search_Struct
-{
- // = TITLE
- // Provides a hash function lookup abstraction for friend records.
-public:
- Hash_Table (void);
- virtual ~Hash_Table (void);
- virtual Protocol_Record *insert (const char *key_name,
- int max_len = MAXUSERIDNAMELEN) = 0;
- virtual Protocol_Record *get_next_entry (void);
- virtual Protocol_Record *get_each_entry (void);
-
-protected:
- enum
- {
- HASH_TABLE_SIZE = 500
- };
-
- Protocol_Record **hash_table;
- Protocol_Record *current_ptr;
- int current_index;
- int hash_table_size;
-};
-#endif /* _HASH_TABLE_H */