3 //=============================================================================
5 * @file Single_Lookup.h
7 * @author Douglas C. Schmidt
9 //=============================================================================
12 #ifndef _SINGLE_LOOKUP_H
13 #define _SINGLE_LOOKUP_H
16 #include "Search_Struct.h"
19 * @class Single_Lookup
21 * Provides the client's single user lookup table abstraction.
23 class Single_Lookup
: public Search_Struct
26 Single_Lookup (const char *usr_name
);
27 virtual ~Single_Lookup ();
28 virtual Protocol_Record
*insert (const char *key_name
,
29 int max_len
= MAXUSERIDNAMELEN
) = 0;
30 virtual Protocol_Record
*get_next_entry ();
31 virtual Protocol_Record
*get_each_entry ();
34 Protocol_Record
*prp_
;
37 #endif /* _SINGLE_LOOKUP_H */