Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / drwho / Drwho_Node.h
blob03263d23fefe5ebff82c399f1b7beca936f73579
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file Drwho_Node.h
7 * @author Douglas C. Schmidt
8 */
9 //=============================================================================
12 #ifndef _DRWHO_NODE_H
13 #define _DRWHO_NODE_H
15 #include "global.h"
17 /**
18 * @class Drwho_Node
20 * @brief Stores information about a host for a specific friend.
22 class Drwho_Node
24 public:
25 Drwho_Node (const char *host, Drwho_Node *next);
26 Drwho_Node ();
28 int get_active_count ();
29 int get_inactive_count ();
30 int set_active_count (int count);
31 int set_inactive_count (int count);
32 int set_idle_time (int idle_time);
33 int get_idle_time ();
34 const char *get_host_name ();
35 const char *set_host_name (const char *str);
36 const char *get_login_name ();
37 const char *set_login_name (const char *);
38 const char *get_real_name ();
39 const char *set_real_name (const char *);
41 const char *key_name1_;
42 const char *key_name2_;
43 const char *tty_name_;
44 int idle_time_;
45 int active_count_;
46 int inactive_count_;
47 Drwho_Node *next_;
50 #endif /* _DRWHO_NODE_H */