blob: 60cf250adf1443af1d71ac5277c03f8364ec8ece (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/* -*- C++ -*- */
// $Id$
// ============================================================================
//
// = LIBRARY
// drwho
//
// = FILENAME
// Protocol_Record.h
//
// = AUTHOR
// Douglas C. Schmidt
//
// ============================================================================
#ifndef _PROTOCOL_RECORD_H
#define _PROTOCOL_RECORD_H
#include "Drwho_Node.h"
class Protocol_Record
{
// = TITLE
// Stores information about a single friend's status.
public:
Protocol_Record (void);
Protocol_Record (int use_dummy);
Protocol_Record (const char *key_name1,
Protocol_Record *next = 0);
~Protocol_Record (void);
const char *get_host (void);
const char *set_host (const char *str);
const char *get_login (void);
const char *set_login (const char *str);
const char *get_real (void);
const char *set_real (const char *str);
Drwho_Node *get_drwho_list (void);
static Drwho_Node drwho_node_;
const char *key_name1_;
const char *key_name2_;
Drwho_Node *drwho_list_;
Protocol_Record *next_;
int is_active_;
};
#endif /* _PROTOCOL_RECORD_H */
|