#include "rcs_defs.hh"#include <rpc/types.h>#include <rpc/xdr.h>#include <stdlib.h>#include "rpcintrf.h"#include "dbg_mem.h"#include "rem_msg.hh"#include "cms.hh"Include dependency graph for xdr_msg.cc:

Go to the source code of this file.
Functions | |
| bool_t RCS_EXPORT | xdr_REMOTE_READ_REQUEST (XDR RCS_FAR *xdrsp, REMOTE_READ_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_WRITE_REQUEST (XDR RCS_FAR *xdrsp, REMOTE_WRITE_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_READ_REPLY (XDR RCS_FAR *xdrsp, REMOTE_READ_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_WRITE_REPLY (XDR RCS_FAR *xdrsp, REMOTE_WRITE_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_READ_REQUEST_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_READ_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_WRITE_REQUEST_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_WRITE_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_READ_REPLY_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_READ_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_WRITE_REPLY_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_WRITE_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_GET_KEYS_REPLY_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_GET_KEYS_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_GET_KEYS_REPLY (XDR RCS_FAR *xdrsp, REMOTE_GET_KEYS_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_LOGIN_REPLY_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_LOGIN_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_LOGIN_REPLY (XDR RCS_FAR *xdrsp, REMOTE_LOGIN_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_SET_SUBSCRIPTION_REPLY_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_SET_SUBSCRIPTION_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_SET_SUBSCRIPTION_REPLY (XDR RCS_FAR *xdrsp, REMOTE_SET_SUBSCRIPTION_REPLY RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_GET_KEYS_REQUEST (XDR RCS_FAR *xdrsp, REMOTE_GET_KEYS_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_GET_KEYS_REQUEST_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_GET_KEYS_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_LOGIN_REQUEST (XDR RCS_FAR *xdrsp, REMOTE_LOGIN_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_LOGIN_REQUEST_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_LOGIN_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT | xdr_REMOTE_SET_SUBSCRIPTION_REQUEST (XDR RCS_FAR *xdrsp, REMOTE_SET_SUBSCRIPTION_REQUEST RCS_FAR *buf) |
| bool_t RCS_EXPORT RCS_PASCAL | xdr_REMOTE_SET_SUBSCRIPTION_REQUEST_PASCAL (XDR RCS_FAR *xdrsp, REMOTE_SET_SUBSCRIPTION_REQUEST RCS_FAR *buf) |
|
||||||||||||
|
Definition at line 44 of file xdr_msg.cc. 00046 {
00047 bool_t catch_it;
00048 if ((NULL == buf) || (NULL == xdrsp))
00049 {
00050 return FALSE;
00051 }
00052 buf->type = REMOTE_CMS_READ_REQUEST_TYPE;
00053 catch_it = xdr_long (xdrsp, &buf->buffer_number);
00054 catch_it = xdr_int (xdrsp, &buf->access_type);
00055 catch_it = xdr_long (xdrsp, &buf->last_id_read);
00056 return (catch_it);
00057 }
|
|
||||||||||||
|
Definition at line 60 of file xdr_msg.cc. 00062 {
00063 bool_t catch_it;
00064 if ((NULL == buf) || (NULL == xdrsp))
00065 {
00066 return FALSE;
00067 }
00068 buf->type = REMOTE_CMS_WRITE_REQUEST_TYPE;
00069 catch_it = xdr_long (xdrsp, &buf->buffer_number);
00070 catch_it = xdr_int (xdrsp, &buf->access_type);
00071 catch_it = xdr_int (xdrsp, &buf->size);
00072 if (NULL == buf->data)
00073 {
00074 buf->data = DEBUG_MALLOC (buf->size);
00075 }
00076 catch_it = xdr_opaque (xdrsp, (char *) buf->data, buf->size);
00077 return catch_it;
00078 }
|
|
||||||||||||
|
Definition at line 81 of file xdr_msg.cc. 00082 {
00083 bool_t catch_it;
00084 if ((NULL == buf) || (NULL == xdrsp))
00085 {
00086 return FALSE;
00087 }
00088 catch_it = xdr_int (xdrsp, &buf->status);
00089 catch_it = xdr_int (xdrsp, &buf->size);
00090 catch_it = xdr_long (xdrsp, &buf->write_id);
00091 catch_it = xdr_long (xdrsp, &buf->was_read);
00092 if (0 < buf->size)
00093 {
00094 if (NULL == buf->data)
00095 {
00096 buf->data = DEBUG_MALLOC (buf->size);
00097 }
00098 catch_it = xdr_opaque (xdrsp, (char *) buf->data, buf->size);
00099 }
00100 return (catch_it);
00101 }
|
|
||||||||||||
|
Definition at line 104 of file xdr_msg.cc. |
|
||||||||||||
|
Definition at line 120 of file xdr_msg.cc. 00122 {
00123 bool_t catch_it;
00124 if ((NULL == buf) || (NULL == xdrsp))
00125 {
00126 return FALSE;
00127 }
00128 buf->type = REMOTE_CMS_READ_REQUEST_TYPE;
00129 catch_it = xdr_long (xdrsp, &buf->buffer_number);
00130 catch_it = xdr_int (xdrsp, &buf->access_type);
00131 catch_it = xdr_long (xdrsp, &buf->last_id_read);
00132 return (catch_it);
00133 }
|
|
||||||||||||
|
Definition at line 136 of file xdr_msg.cc. 00138 {
00139 bool_t catch_it;
00140 if ((NULL == buf) || (NULL == xdrsp))
00141 {
00142 return FALSE;
00143 }
00144 buf->type = REMOTE_CMS_WRITE_REQUEST_TYPE;
00145 catch_it = xdr_long (xdrsp, &buf->buffer_number);
00146 catch_it = xdr_int (xdrsp, &buf->access_type);
00147 catch_it = xdr_int (xdrsp, &buf->size);
00148 if (NULL == buf->data)
00149 {
00150 buf->data = DEBUG_MALLOC (buf->size);
00151 }
00152 catch_it = xdr_opaque (xdrsp, (char *) buf->data, buf->size);
00153 return catch_it;
00154 }
|
|
||||||||||||
|
Definition at line 157 of file xdr_msg.cc. 00159 {
00160 bool_t catch_it;
00161 if ((NULL == buf) || (NULL == xdrsp))
00162 {
00163 return FALSE;
00164 }
00165 catch_it = xdr_int (xdrsp, &buf->status);
00166 catch_it = xdr_int (xdrsp, &buf->size);
00167 catch_it = xdr_long (xdrsp, &buf->write_id);
00168 catch_it = xdr_long (xdrsp, &buf->was_read);
00169 if (0 < buf->size)
00170 {
00171 if (NULL == buf->data)
00172 {
00173 buf->data = DEBUG_MALLOC (buf->size);
00174 }
00175 catch_it = xdr_opaque (xdrsp, (char *) buf->data, buf->size);
00176 }
00177 return (catch_it);
00178 }
|
|
||||||||||||
|
Definition at line 181 of file xdr_msg.cc. |
|
||||||||||||
|
Definition at line 196 of file xdr_msg.cc. 00198 {
00199 bool_t catch_it;
00200 if ((NULL == buf) || (NULL == xdrsp))
00201 {
00202 return FALSE;
00203 }
00204 catch_it = xdr_opaque (xdrsp, (char *) buf->key1, 8);
00205 catch_it = xdr_opaque (xdrsp, (char *) buf->key2, 8);
00206 return (catch_it);
00207 }
|
|
||||||||||||
|
Definition at line 211 of file xdr_msg.cc. 00213 {
00214 bool_t catch_it;
00215 if ((NULL == buf) || (NULL == xdrsp))
00216 {
00217 return FALSE;
00218 }
00219 catch_it = xdr_opaque (xdrsp, (char *) buf->key1, 8);
00220 catch_it = xdr_opaque (xdrsp, (char *) buf->key2, 8);
00221 return (catch_it);
00222 }
|
|
||||||||||||
|
Definition at line 225 of file xdr_msg.cc. |
|
||||||||||||
|
Definition at line 239 of file xdr_msg.cc. |
|
||||||||||||
|
Definition at line 251 of file xdr_msg.cc. |
|
||||||||||||
|
Definition at line 266 of file xdr_msg.cc. |
|
||||||||||||
|
Definition at line 280 of file xdr_msg.cc. 00282 {
00283 bool_t catch_it;
00284 if ((NULL == buf) || (NULL == xdrsp))
00285 {
00286 return FALSE;
00287 }
00288 buf->type = REMOTE_CMS_GET_KEYS_REQUEST_TYPE;
00289 catch_it = xdr_opaque (xdrsp, (char *) buf->name, 16);
00290 return catch_it;
00291 }
|
|
||||||||||||
|
Definition at line 294 of file xdr_msg.cc. 00296 {
00297 bool_t catch_it;
00298 if ((NULL == buf) || (NULL == xdrsp))
00299 {
00300 return FALSE;
00301 }
00302 buf->type = REMOTE_CMS_GET_KEYS_REQUEST_TYPE;
00303 catch_it = xdr_opaque (xdrsp, (char *) buf->name, 16);
00304 return catch_it;
00305 }
|
|
||||||||||||
|
Definition at line 309 of file xdr_msg.cc. 00311 {
00312 bool_t catch_it;
00313 if ((NULL == buf) || (NULL == xdrsp))
00314 {
00315 return FALSE;
00316 }
00317 buf->type = REMOTE_CMS_LOGIN_REQUEST_TYPE;
00318 catch_it = xdr_opaque (xdrsp, (char *) buf->name, 16);
00319 catch_it = xdr_opaque (xdrsp, (char *) buf->passwd, 16);
00320 return catch_it;
00321 }
|
|
||||||||||||
|
Definition at line 324 of file xdr_msg.cc. 00326 {
00327 bool_t catch_it;
00328 if ((NULL == buf) || (NULL == xdrsp))
00329 {
00330 return FALSE;
00331 }
00332 buf->type = REMOTE_CMS_LOGIN_REQUEST_TYPE;
00333 catch_it = xdr_opaque (xdrsp, (char *) buf->name, 16);
00334 catch_it = xdr_opaque (xdrsp, (char *) buf->passwd, 16);
00335 return catch_it;
00336 }
|
|
||||||||||||
|
Definition at line 339 of file xdr_msg.cc. 00342 {
00343 bool_t catch_it;
00344 if ((NULL == buf) || (NULL == xdrsp))
00345 {
00346 return FALSE;
00347 }
00348 buf->type = REMOTE_CMS_SET_SUBSCRIPTION_REQUEST_TYPE;
00349 catch_it = xdr_int (xdrsp, &buf->subscription_type);
00350 catch_it = xdr_int (xdrsp, &buf->poll_interval_millis);
00351 return catch_it;
00352 }
|
|
||||||||||||
|
Definition at line 355 of file xdr_msg.cc. 00358 {
00359 bool_t catch_it;
00360 if ((NULL == buf) || (NULL == xdrsp))
00361 {
00362 return FALSE;
00363 }
00364 buf->type = REMOTE_CMS_SET_SUBSCRIPTION_REQUEST_TYPE;
00365 catch_it = xdr_int (xdrsp, &buf->subscription_type);
00366 catch_it = xdr_int (xdrsp, &buf->poll_interval_millis);
00367 return catch_it;
00368 }
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001