summaryrefslogtreecommitdiff
path: root/apps/drwho/Single_Lookup.cpp
blob: 07b981c69b145dc7bd6367c95c16ce7d2497ebf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// $Id$

#include "Options.h"
#include "Single_Lookup.h"

Single_Lookup::Single_Lookup (const char *usr_name)
{
  ACE_NEW (this->prp_,
           Protocol_Record (ACE::strnew (usr_name)));
}

Single_Lookup::~Single_Lookup (void)
{
  if (Options::get_opt (Options::DEBUG))
    ACE_DEBUG ((LM_DEBUG,
                "disposing Single_Lookup\n"));
}

Protocol_Record *
Single_Lookup::get_each_entry (void)
{
  return this->prp_;
}

Protocol_Record *
Single_Lookup::get_next_entry (void)
{
  return this->get_each_entry ();
}