summaryrefslogtreecommitdiff
path: root/ACE/apps/drwho/PMC_Ruser.h
blob: fe3d3c2336379d0196eaae86a855d42eacd96085 (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
/* -*- C++ -*- */
// $Id$

// ============================================================================
//
// = LIBRARY
//    drwho
//
// = FILENAME
//    PMC_Ruser.h
//
// = AUTHOR
//    Douglas C. Schmidt
//
// ============================================================================

#ifndef _PMC_RUSER_H
#define _PMC_RUSER_H

#include "PM_Client.h"

class PMC_Ruser : public PM_Client
{
  // = TITLE
  //   Provides the client's lookup table abstraction for `ruser' users...

public:
  PMC_Ruser (void);
  virtual void process (void);

protected:
  char *handle_protocol_entries (const char *cp,
                                 const char *host_name,
                                 const char * = 0);
  Protocol_Record *insert_protocol_info (Protocol_Record &protocol_record);
  virtual int encode (char *packet, int &total_bytes);
  virtual int decode (char *packet, int &total_bytes);
};

#endif /* _PMC_RUSER_H */