#include "rcs_defs.hh"#include <stddef.h>#include "cms_cfg.hh"#include "linklist.hh"#include "physmem.hh"#include "posemath.h"Include dependency graph for cms.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
|
|
|
|
|
Definition at line 42 of file cms.hh. 00043 {
00044 /* ERROR conditions */
00045 CMS_MISC_ERROR = -1, /* A miscellaneous error occured. */
00046 CMS_UPDATE_ERROR = -2, /* An error occured during an update. */
00047 CMS_INTERNAL_ACCESS_ERROR = -3, /* An error occured during an internal access function. */
00048 CMS_NO_MASTER_ERROR = -4, /* An error occured becouse */
00049 /* the master was not started */
00050 CMS_CONFIG_ERROR = -5, /* There was an error in the configuration */
00051 CMS_TIMED_OUT = -6, /* operation timed out. */
00052 CMS_QUEUE_FULL = -7, /* A write failed because queuing was */
00053 /* enabled but there was no room to add to */
00054 /* the queue. */
00055 CMS_CREATE_ERROR = -8, /* Something could not be created. */
00056 CMS_PERMISSIONS_ERROR = -9, // Problem with permissions
00057 CMS_NO_SERVER_ERROR = -10, // The server has not been started or could not be contacted.
00058 CMS_RESOURCE_CONFLICT_ERROR = -11, // Two or more CMS buffers are trying to use the same resource.
00059 CMS_NO_IMPLEMENTATION_ERROR = -12, // An operation was attempted which has not yet been implemented for the current platform or protocol.
00060 CMS_INSUFFICIENT_SPACE_ERROR = -13, // The size of the buffer was insufficient for the requested operation.
00061 CMS_LIBRARY_UNAVAILABLE_ERROR = -14, // A DLL or Shared Object library needed for the current protocol could not be found or initialized.
00062 CMS_SERVER_SIDE_ERROR = -15, // The server reported an error.
00063 CMS_NO_BLOCKING_SEM_ERROR = -16, // A blocking_read operartion was tried but no semaphore for the blocking was configured or available.
00064
00065 /* NON Error Conditions.*/
00066 CMS_STATUS_NOT_SET = 0, /* The status variable has not been set yet. */
00067 CMS_READ_OLD = 1, /* Read successful, but data is old. */
00068 CMS_READ_OK = 2, /* Read successful so far. */
00069 CMS_WRITE_OK = 3, /* Write successful so far. */
00070 CMS_WRITE_WAS_BLOCKED = 4, /* Write if read did not succeed, because */
00071 /* the buffer had not been read yet. */
00072 CMS_CLEAR_OK = 5, /* A clear operation was successful. */
00073 CMS_CLOSED = 6 /* The channel has been closed. */
00074 };
|
|
|
Definition at line 77 of file cms.hh. 00078 {
00079 CMS_NOT_A_MODE = 0,
00080 CMS_ENCODE,
00081 CMS_DECODE,
00082 CMS_RAW_OUT,
00083 CMS_RAW_IN,
00084 CMS_READ,
00085 CMS_WRITE
00086 };
|
|
|
Definition at line 91 of file cms.hh. 00092 {
00093 CMS_ZERO_ACCESS = 0,
00094 CMS_READ_ACCESS,
00095 CMS_CHECK_IF_READ_ACCESS,
00096 CMS_PEEK_ACCESS,
00097 CMS_WRITE_ACCESS,
00098 CMS_WRITE_IF_READ_ACCESS,
00099 CMS_CLEAR_ACCESS,
00100 CMS_GET_MSG_COUNT_ACCESS,
00101 CMS_GET_DIAG_INFO_ACCESS
00102 };
|
|
|
Definition at line 105 of file cms.hh. 00106 {
00107 CMS_SHMEM_TYPE,
00108 CMS_GLOBMEM_TYPE,
00109 CMS_PHANTOM_BUFFER,
00110 CMS_LOCMEM_TYPE,
00111 CMS_FILEMEM_TYPE,
00112 CMS_BBDMEM_TYPE,
00113 CMS_RTLMEM_TYPE
00114 };
|
|
|
Definition at line 117 of file cms.hh. 00118 {
00119 CMS_REMOTE_TYPE,
00120 CMS_LOCAL_TYPE,
00121 CMS_PHANTOM_USER,
00122 CMS_AUTO_TYPE
00123 };
|
|
|
Definition at line 125 of file cms.hh. 00126 {
00127 CMS_NO_REMOTE_PORT_TYPE = 0,
00128 CMS_RPC_REMOTE_PORT_TYPE,
00129 CMS_TTY_REMOTE_PORT_TYPE,
00130 CMS_TCP_REMOTE_PORT_TYPE,
00131 CMS_STCP_REMOTE_PORT_TYPE,
00132 CMS_UDP_REMOTE_PORT_TYPE
00133 };
|
|
|
Definition at line 158 of file cms.hh. 00159 {
00160 CMS_NO_ENCODING,
00161 CMS_XDR_ENCODING,
00162 CMS_ASCII_ENCODING,
00163 CMS_DISPLAY_ASCII_ENCODING
00164 };
|
|
|
Definition at line 481 of file cms.hh. 00482 {
00483 CMS_NORMAL_CONNECTION_MODE = 0, // all config file parameters are honored.
00484 CMS_FORCE_LOCAL_CONNECTION_MODE = 1, // all connections are forced to be local
00485 CMS_FORCE_REMOTE_CONNECTION_MODE = 2 // all connections are forced to be remote
00486 };
|
|
|
Definition at line 2015 of file cms.cc. Referenced by CMS::CMS().
02016 {
02017 if (NULL == in)
02018 {
02019 return NULL;
02020 }
02021 if (NULL == cmsHostAliases)
02022 {
02023 return NULL;
02024 }
02025 CMS_HOST_ALIAS_ENTRY *entry =
02026 (CMS_HOST_ALIAS_ENTRY *) cmsHostAliases->get_head ();
02027 while (NULL != entry)
02028 {
02029 if (!strncmp (entry->alias, in, 64))
02030 {
02031 return entry->host;
02032 }
02033 }
02034 return NULL;
02035 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001