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

cmd_msg.cc File Reference

#include "rcs_defs.hh"
#include <stdio.h>
#include "nml.hh"
#include "nmlmsg.hh"
#include "cms.hh"
#include "cmd_msg.hh"

Include dependency graph for cmd_msg.cc:

Include dependency graph

Go to the source code of this file.

Functions

int RCS_CMD_MSG_format (NMLTYPE t, void RCS_FAR *buf, CMS RCS_FAR *cms)

Variables

NMLTYPE nmltype


Function Documentation

int RCS_CMD_MSG_format NMLTYPE    t,
void RCS_FAR *    buf,
CMS RCS_FAR *    cms
 

Definition at line 31 of file cmd_msg.cc.

00032 {
00033   cms->update (((RCS_CMD_MSG *) buf)->serial_number);
00034 
00035 //  printf(" RCS_CMD_MSG_format: called.\n");
00036   switch (t)
00037     {
00038     case RCS_GENERIC_CMD_TYPE:
00039       ((RCS_GENERIC_CMD *) buf)->update (cms);
00040       return (1);
00041 
00042     default:
00043       return (0);
00044     }
00045   return (0);
00046 }


Variable Documentation

NMLTYPE nmltype
 

Definition at line 20 of file cmd_msg.cc.


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