3 //=============================================================================
7 * Provides the server's binary search lookup table abstraction.
9 * @author Douglas C. Schmidt
11 //=============================================================================
17 #include "Binary_Search.h"
22 * @brief Provides the server's binary search lookup table abstraction.
24 class BS_Server
: public Binary_Search
28 BS_Server (const char *packet
);
31 * This function is used to merge the <key_name> from server
32 * <host_name> into the sorted list of userids kept on the client's
35 virtual Protocol_Record
*insert (const char *key_name
,
36 int max_len
= MAXUSERIDNAMELEN
);
39 * An iterator, similar to Binary_Search::get_next_friend, though in
40 * this case the friend records are returned in the order they
41 * appeared in the friend file, rather than in sorted order. Also,
42 * we skip over entries that don't have any hosts associated with
45 virtual Protocol_Record
*get_next_entry ();
48 #endif /* _BS_SERVER_H */