diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /apps/drwho/Protocol_Record.cpp | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'apps/drwho/Protocol_Record.cpp')
-rw-r--r-- | apps/drwho/Protocol_Record.cpp | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/apps/drwho/Protocol_Record.cpp b/apps/drwho/Protocol_Record.cpp deleted file mode 100644 index a04454e51bb..00000000000 --- a/apps/drwho/Protocol_Record.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// $Id$ - -#include "Options.h" -#include "Protocol_Record.h" -#include "ace/Log_Msg.h" - -// Static initialization. - -Drwho_Node Protocol_Record::drwho_node_; - -Protocol_Record::~Protocol_Record (void) -{ - if (Options::get_opt (Options::DEBUG)) - ACE_DEBUG ((LM_DEBUG, - "disposing Protocol_Record\n")); - - for (Drwho_Node *np = this->get_drwho_list (); - np != 0; ) - { - Drwho_Node *t = np; - np = np->next_; - delete t; - } -} - -Protocol_Record::Protocol_Record (void) - : key_name1_ (0), - key_name2_ (0), - drwho_list_ (0), - next_ (0), - is_active_ (0) -{ -} - -Protocol_Record::Protocol_Record (int) - : key_name1_ (0), - key_name2_ (0), - drwho_list_ (&Protocol_Record::drwho_node_), - next_ (0), - is_active_ (0) -{ -} - -Protocol_Record::Protocol_Record (const char *kn1, - Protocol_Record *next) - : key_name1_ (kn1), - key_name2_ (0), - drwho_list_ (0), - next_ (next), - is_active_ (0) -{ -} - -const char * -Protocol_Record::get_login (void) -{ - return this->key_name1_; -} - -const char * -Protocol_Record::set_login (const char *str) -{ - this->key_name1_ = str; - return str; -} - -const char * -Protocol_Record::get_real (void) -{ - return this->key_name2_; -} - -const char * -Protocol_Record::get_host (void) -{ - return this->key_name1_; -} - -const char * -Protocol_Record::set_host (const char *str) -{ - this->key_name1_ = str; - return str; -} - -const char * -Protocol_Record::set_real (const char *str) -{ - this->key_name2_ = str; - return str; -} - -Drwho_Node * -Protocol_Record::get_drwho_list (void) -{ - return this->drwho_list_; -} |