#include "rcs_defs.hh"#include "rcsvers.hh"#include <stdlib.h>#include <stddef.h>#include <string.h>#include <ctype.h>#include <errno.h>#include "cms.hh"#include "cms_up.hh"#include "cms_xup.hh"#include "cms_aup.hh"#include "cms_dup.hh"#include "rcs_prnt.hh"#include "dbg_mem.h"#include "cmsdiag.hh"Include dependency graph for cms.cc:

Go to the source code of this file.
Functions | |
| int | convert2upper (char *dest, char *src, int len) |
| char * | cms_check_for_host_alias (char *in) |
Variables | |
| RCS_LINKED_LIST * | cmsHostAliases = NULL |
| CMS_CONNECTION_MODE | cms_connection_mode = CMS_NORMAL_CONNECTION_MODE |
| int | cms_encoded_data_explosion_factor = 4 |
|
||||||||||||||||
|
Definition at line 100 of file cms.cc. 00101 {
00102 int
00103 i;
00104 for (i = 0; i < len; i++)
00105 {
00106 if (src[i] == 0)
00107 {
00108 dest[i] = 0;
00109 return i;
00110 }
00111 #ifndef UNDER_CE
00112 dest[i] = toupper (src[i]);
00113 #else
00114 if (src[i] >= 'a' && src[i] <= 'z')
00115 {
00116 dest[i] = (src[i] - 'a') + 'A';
00117 }
00118 else
00119 {
00120 dest[i] = src[i];
00121 }
00122 #endif
00123 }
00124 return i;
00125 }
|
|
|
Definition at line 2015 of file cms.cc. 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