Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

stat_msg.hh

Go to the documentation of this file.
00001 
00002 #ifndef RCS_STAT_HH
00003 #define RCS_STAT_HH
00004 
00005 #include "rcs_defs.hh"          /* RCS_EXPORT  */
00006 
00007 #include "nml.hh"
00008 #include "nmlmsg.hh"
00009 
00010 class RCS_EXPORT RCS_STAT_MSG:public NMLmsg
00011 {
00012 public:
00013   RCS_STAT_MSG (NMLTYPE t, size_t sz);
00014   NMLTYPE command_type;
00015   int echo_serial_number;
00016   int status;
00017   int state;
00018   int line;
00019   int source_line;
00020   char source_file[64];
00021 
00022 };
00023 
00024 extern int RCS_EXPORT RCS_STAT_MSG_format (NMLTYPE, void RCS_FAR *,
00025                                            CMS RCS_FAR *);
00026 
00027 class RCS_EXPORT RCS_STAT_CHANNEL:public NML
00028 {
00029 public:
00030   RCS_STAT_CHANNEL (NML_FORMAT_PTR, char *, char *, char *,
00031                     int set_to_server = 0);
00032    ~RCS_STAT_CHANNEL ();
00033   RCS_STAT_MSG *get_address ()
00034   {
00035     return ((RCS_STAT_MSG *) NML::get_address ());
00036   };
00037 };
00038 
00039 #define RCS_GENERIC_STATUS_TYPE         ((NMLTYPE) 2000000)
00040 
00041 class RCS_EXPORT RCS_GENERIC_STATUS:public RCS_STAT_MSG
00042 {
00043 public:
00044   RCS_GENERIC_STATUS ();
00045   void update (CMS *);
00046 };
00047 
00048 
00049 #endif

Generated on Sun Dec 2 15:56:52 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001