summaryrefslogtreecommitdiff
path: root/apps/drwho/Single_Lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/drwho/Single_Lookup.cpp')
-rw-r--r--apps/drwho/Single_Lookup.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/drwho/Single_Lookup.cpp b/apps/drwho/Single_Lookup.cpp
new file mode 100644
index 00000000000..55751170bc9
--- /dev/null
+++ b/apps/drwho/Single_Lookup.cpp
@@ -0,0 +1,29 @@
+// $Id$
+#include "Options.h"
+#include "new.h"
+#include "Single_Lookup.h"
+
+#ifndef __OPTIMIZE__
+Single_Lookup::Single_Lookup (char *usr_name)
+{
+ this->frp = new (PRIVATE_POOL) Protocol_Record (ACE::strnew (usr_name));
+}
+
+Single_Lookup::~Single_Lookup (void)
+{
+ if (Options::get_opt (Options::DEBUG))
+ fprintf (stderr, "disposing Single_Lookup\n");
+}
+
+Protocol_Record *
+Single_Lookup::get_each_entry (void)
+{
+ return this->frp;
+}
+
+Protocol_Record *
+Single_Lookup::get_next_entry (void)
+{
+ return this->get_each_entry ();
+}
+#endif /* __OPTIMIZE__ */