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

rcsvers.c File Reference

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

Include dependency graph for rcsvers.c:

Include dependency graph

Go to the source code of this file.

Defines

#define NO_DBG_MEM
#define darwin_static

Functions

void cms_print_servers (void)
int nml_print_diag_list (void)
void print_etime (void)
int rcs_print (char *_fmt,...)
void print_rcs_version ()
int rcsinfo (void)
int rcs_info (void)

Variables

int rcs_version_printed = 0
const int rcs_major_version_number = RCS_MAJOR_VERSION
const int rcs_minor_version_number = RCS_MINOR_VERSION
darwin_static const char * rcs_version_info_string = "@(#)" " $Info: RCS_LIBRARY_VERSION " RCS_VERSION " Compiled on " __DATE__ " at " __TIME__ " for the " PLATNAME " platform. $ \n"
darwin_static const char * rcs_version_string


Define Documentation

#define NO_DBG_MEM
 

Definition at line 3 of file rcsvers.c.

#define darwin_static
 

Definition at line 37 of file rcsvers.c.


Function Documentation

void cms_print_servers void   
 

int nml_print_diag_list void   
 

Definition at line 133 of file nmldiag.cc.

00134 {
00135   if (NULL != NML_Main_Channel_List)
00136     {
00137       NML *nml = (NML *) NML_Main_Channel_List->get_head ();
00138       while (NULL != nml)
00139         {
00140           if (NULL != nml->cms)
00141             {
00142               if (!nml->cms->enable_diagnostics)
00143                 {
00144                   nml = (NML *) NML_Main_Channel_List->get_next ();
00145                   continue;
00146                 }
00147               rcs_print ("\n*********************************************\n");
00148               if (NULL != nml->cms->BufferName)
00149                 {
00150                   rcs_print ("* Buffer Name: %s\n", nml->cms->BufferName);
00151                 }
00152               NML_DIAGNOSTICS_INFO *ndi = nml->get_diagnostics_info ();
00153               if (NULL != ndi)
00154                 {
00155                   ndi->print ();
00156                 }
00157               rcs_print ("*********************************************\n\n");
00158             }
00159           nml = (NML *) NML_Main_Channel_List->get_next ();
00160         }
00161     }
00162   return (0);
00163 }

void print_etime void   
 

Definition at line 498 of file _timer.c.

00499 {
00500   printf ("etime = %f\n", etime ());
00501 }

int rcs_print char *    _fmt,
...   
 

Referenced by CMS_SERVER_REMOTE_STCP_PORT::CMS_SERVER_REMOTE_STCP_PORT(), GLOBMEM::GLOBMEM(), NMLInit(), NMLRead(), NMLReadExit(), NO_DBG_MEM(), autokey_getkey(), cms_print_servers(), debug_calloc(), debug_free(), debug_malloc(), debug_realloc(), CMS_SERVER::find_user(), initialized(), inputb(), inputw(), main(), main_window_dialog_proc(), mem_get_access(), mem_release_access(), bbdWriter::next(), nml_perf_combined_test(), nml_perf_read_test(), nml_perf_write_test(), nml_print_diag_list(), nml_watch(), nmlbbdFormat(), nmltest_format(), outputb(), parse_buffer_info(), parse_process_info(), NML_DIAGNOSTICS_INFO::print(), print_dbg_mem_list(), NML::print_info(), print_loaded_nml_config_file(), print_loaded_nml_config_file_list(), print_rcs_error_new(), print_rcs_version(), print_serial_port_configuration(), CMS_SERVER_REMOTE_PORT::print_servers(), NML_MODULE::print_statistics(), CMS_SERVER::process_request(), CMS::queue_write_encoded(), CMS::queue_write_if_read_encoded(), CMS::queue_write_if_read_raw(), CMS::queue_write_raw(), rcs_print_debug(), rcs_print_error(), rcs_print_sys_error(), CMS_SERVER::read_passwd_file(), table_print(), and NML_BBD_MSG::update().

void print_rcs_version void   
 

Definition at line 49 of file rcsvers.c.

Referenced by NML::print_info(), rcs_version_info_string(), and rcsinfo().

00050 {
00051   rcs_version_printed = 1;
00052 #ifndef rtlinux
00053   rcs_print((char *) rcs_version_info_string);
00054 #endif
00055 }

int rcsinfo void   
 

Definition at line 100 of file rcsvers.c.

Referenced by rcs_info(), and rcs_version_info_string().

00101 {
00102   print_rcs_version();
00103   cms_print_servers();
00104   print_etime();
00105   nml_print_diag_list();
00106 #ifdef VXWORKS
00107   rcs_shm_table_print();
00108   rcs_sem_table_print();
00109 #endif
00110   return(0);
00111 }

int rcs_info void   
 

Definition at line 117 of file rcsvers.c.

00118 {
00119   return rcsinfo();
00120 }


Variable Documentation

int rcs_version_printed = 0
 

Definition at line 25 of file rcsvers.c.

const int rcs_major_version_number = RCS_MAJOR_VERSION
 

Definition at line 27 of file rcsvers.c.

const int rcs_minor_version_number = RCS_MINOR_VERSION
 

Definition at line 28 of file rcsvers.c.

darwin_static const char* rcs_version_info_string = "@(#)" " $Info: RCS_LIBRARY_VERSION " RCS_VERSION " Compiled on " __DATE__ " at " __TIME__ " for the " PLATNAME " platform. $ \n"
 

Definition at line 43 of file rcsvers.c.

darwin_static const char* rcs_version_string
 

Definition at line 47 of file rcsvers.c.


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