// $Id: Single_Lookup.cpp,v 1.5 1998/09/13 03:44:51 schmidt Exp $

#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 ();
}
