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

stat_msg.hh File Reference

#include "rcs_defs.hh"
#include "nml.hh"
#include "nmlmsg.hh"

Include dependency graph for stat_msg.hh:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

class  RCS_STAT_MSG
class  RCS_STAT_CHANNEL
class  RCS_GENERIC_STATUS

Defines

#define RCS_GENERIC_STATUS_TYPE   ((NMLTYPE) 2000000)

Functions

int RCS_EXPORT RCS_STAT_MSG_format (NMLTYPE, void RCS_FAR *, CMS RCS_FAR *)


Define Documentation

#define RCS_GENERIC_STATUS_TYPE   ((NMLTYPE) 2000000)
 

Definition at line 39 of file stat_msg.hh.


Function Documentation

int RCS_EXPORT RCS_STAT_MSG_format NMLTYPE    t,
void RCS_FAR *    buf,
CMS RCS_FAR *    cms
 

Definition at line 23 of file stat_msg.cc.

00024 {
00025   cms->update (((RCS_STAT_MSG *) buf)->command_type);
00026   cms->update (((RCS_STAT_MSG *) buf)->echo_serial_number);
00027   cms->update (((RCS_STAT_MSG *) buf)->status);
00028   cms->update (((RCS_STAT_MSG *) buf)->state);
00029   cms->update (((RCS_STAT_MSG *) buf)->line);
00030   cms->update (((RCS_STAT_MSG *) buf)->source_line);
00031   cms->update (((RCS_STAT_MSG *) buf)->source_file, 64);
00032 
00033   switch (t)
00034     {
00035     case RCS_GENERIC_STATUS_TYPE:
00036       ((RCS_GENERIC_STATUS *) buf)->update (cms);
00037       return (1);
00038 
00039     default:
00040       return (0);
00041     }
00042   return (0);
00043 }


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