#include "rcs_defs.hh"
#include <rpc/types.h>
#include <rpc/xdr.h>
Include dependency graph for rpc_msg.hh:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | RPC_READ_REQUEST |
struct | RPC_READ_REPLY |
struct | RPC_WRITE_REQUEST |
struct | RPC_WRITE_REPLY |
struct | RPC_GET_KEYS_REQUEST |
struct | RPC_GET_KEYS_REPLY |
struct | RPC_LOGIN_REQUEST |
struct | RPC_LOGIN_REPLY |
Functions | |
bool_t RCS_EXPORT RCS_PASCAL | xdr_RPC_READ_REQUEST (XDR RCS_FAR *xdrsp, RPC_READ_REQUEST RCS_FAR *buffer) |
bool_t RCS_EXPORT RCS_PASCAL | xdr_RPC_READ_REPLY (XDR RCS_FAR *xdrsp, RPC_READ_REPLY RCS_FAR *buffer) |
bool_t RCS_EXPORT RCS_PASCAL | xdr_RPC_WRITE_REQUEST (XDR RCS_FAR *xdrsp, RPC_WRITE_REQUEST RCS_FAR *buffer) |
bool_t RCS_EXPORT RCS_PASCAL | xdr_RPC_WRITE_REPLY (XDR RCS_FAR *xdrsp, RPC_WRITE_REPLY RCS_FAR *buffer) |
bool_t RCS_EXPORT RCS_PASCAL | xdr_RPC_GET_KEYS_REQUEST (XDR RCS_FAR *xdrsp, RPC_GET_KEYS_REQUEST RCS_FAR *buffer) |
bool_t RCS_EXPORT RCS_PASCAL | xdr_RPC_GET_KEYS_REPLY (XDR RCS_FAR *xdrsp, RPC_GET_KEYS_REPLY RCS_FAR *buffer) |
bool_t RCS_EXPORT RCS_PASCAL | xdr_RPC_LOGIN_REQUEST (XDR RCS_FAR *xdrsp, RPC_LOGIN_REQUEST RCS_FAR *buffer) |
bool_t RCS_EXPORT RCS_PASCAL | xdr_RPC_LOGIN_REPLY (XDR RCS_FAR *xdrsp, RPC_LOGIN_REPLY RCS_FAR *buffer) |
Variables | |
RCS_EXPORT | CMS_HEADER |
|
Definition at line 30 of file rpc_msg.cc. Referenced by RPC_LOGIN_REPLY::status().
00031 { 00032 bool_t catch_it; 00033 if ((NULL == buf) || (NULL == xdrsp)) 00034 { 00035 return FALSE; 00036 } 00037 catch_it = xdr_long (xdrsp, &buf->buffer_number); 00038 catch_it = xdr_int (xdrsp, &buf->access_type); 00039 catch_it = xdr_long (xdrsp, &buf->last_id_read); 00040 return (catch_it); 00041 } |
|
Definition at line 63 of file rpc_msg.cc. Referenced by RPC_LOGIN_REPLY::status().
00064 { 00065 bool_t catch_it; 00066 if ((NULL == buf) || (NULL == xdrsp)) 00067 { 00068 return FALSE; 00069 } 00070 catch_it = xdr_int (xdrsp, &buf->status); 00071 catch_it = xdr_int (xdrsp, &buf->size); 00072 catch_it = xdr_long (xdrsp, &buf->write_id); 00073 catch_it = xdr_long (xdrsp, &buf->was_read); 00074 if (0 < buf->size) 00075 { 00076 if (NULL == buf->data) 00077 { 00078 buf->data = malloc (buf->size); 00079 } 00080 catch_it = xdr_opaque (xdrsp, (char *) buf->data, buf->size); 00081 } 00082 return (catch_it); 00083 } |
|
Definition at line 44 of file rpc_msg.cc. Referenced by RPC_LOGIN_REPLY::status().
00045 { 00046 bool_t catch_it; 00047 if ((NULL == buf) || (NULL == xdrsp)) 00048 { 00049 return FALSE; 00050 } 00051 catch_it = xdr_long (xdrsp, &buf->buffer_number); 00052 catch_it = xdr_int (xdrsp, &buf->access_type); 00053 catch_it = xdr_int (xdrsp, &buf->size); 00054 if (NULL == buf->data) 00055 { 00056 buf->data = malloc (buf->size); 00057 } 00058 catch_it = xdr_opaque (xdrsp, (char *) buf->data, buf->size); 00059 return catch_it; 00060 } |
|
Definition at line 86 of file rpc_msg.cc. Referenced by RPC_LOGIN_REPLY::status().
|
|
Referenced by RPC_LOGIN_REPLY::status().
|
|
Referenced by RPC_LOGIN_REPLY::status().
|
|
Referenced by RPC_LOGIN_REPLY::status().
|
|
Referenced by RPC_LOGIN_REPLY::status().
|
|
Definition at line 35 of file rpc_msg.hh. |