#include "nml.hh"#include "nmlmsg.hh"#include "cms.hh"#include "stat_msg.hh"#include <string.h>Include dependency graph for stat_msg.cc:

Go to the source code of this file.
Functions | |
| int | 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 }
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001