3 //=============================================================================
5 * @file Search_Struct.h
7 * @author Douglas C. Schmidt
9 //=============================================================================
12 #ifndef _SEARCH_STRUCT_H
13 #define _SEARCH_STRUCT_H
15 #include "Protocol_Record.h"
18 * @class Search_Struct
20 * @brief Provides an "Abstract Base Class" lookup table abstraction that
21 * stores and manipulates friend records.
27 virtual ~Search_Struct ();
28 virtual int n_elems ();
30 virtual Protocol_Record
*insert (const char *key_name
,
31 int max_len
= MAXUSERIDNAMELEN
) = 0;
32 virtual Protocol_Record
*get_next_entry () = 0;
33 virtual Protocol_Record
*get_each_entry () = 0;
39 #endif /* _SEARCH_STRUCT_H */