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

oi_msg.cc File Reference

#include <string.h>
#include <stdlib.h>
#include "oi_msg.hh"

Include dependency graph for oi_msg.cc:

Include dependency graph

Go to the source code of this file.

Functions

int RCS_OI_REQUEST_format (NMLTYPE t, void *buf, CMS *cms)
int RCS_OI_REPLY_format (NMLTYPE t, void *buf, CMS *cms)


Function Documentation

int RCS_OI_REQUEST_format NMLTYPE    t,
void *    buf,
CMS   cms
 

Definition at line 16 of file oi_msg.cc.

00017 {
00018   switch (t)
00019     {
00020     case RCS_GENERIC_OI_REQUEST_TYPE:
00021       ((RCS_GENERIC_OI_REQUEST *) buf)->update (cms);
00022       return (1);
00023 
00024     default:
00025       return (0);
00026     }
00027   return (0);
00028 }

int RCS_OI_REPLY_format NMLTYPE    t,
void *    buf,
CMS   cms
 

Definition at line 70 of file oi_msg.cc.

00071 {
00072   switch (t)
00073     {
00074     case RCS_GENERIC_OI_REPLY_TYPE:
00075       ((RCS_GENERIC_OI_REPLY *) buf)->update (cms);
00076       return (1);
00077 
00078     default:
00079       return (0);
00080     }
00081   return (0);
00082 }


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