Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

gethist.C File Reference

#include <time.h>
#include "stdinc.h"

Go to the source code of this file.

Defines

#define INTRO_PART   " ===> "
#define INTRO_LENGTH   strlen(INTRO_PART)
#define STARLAB_PART   "Starlab "
#define STARLAB_LENGTH   strlen(STARLAB_PART)
#define VERSION_PART   STARLAB_VERSION
#define VERSION_LENGTH   strlen(VERSION_PART)
#define DATE_STR_LENGTH   24
#define DATE_SEPARATOR   "\n "
#define DATE_SEP_LENGTH   strlen(DATE_SEPARATOR)
#define VERSION_SEPARATOR   " : "
#define VERSION_SEP_LENGTH   strlen(VERSION_SEPARATOR)
#define DATE_TOT_LENGTH
#define USER_HEAD   " (user "

Functions

local bool contains_white (char *s)
local int eff_length (char *s)
char* gethist (int argc, char **argv)


Define Documentation

#define DATE_SEPARATOR   "\n "
 

Definition at line 80 of file gethist.C.

#define DATE_SEP_LENGTH   strlen(DATE_SEPARATOR)
 

Definition at line 81 of file gethist.C.

#define DATE_STR_LENGTH   24
 

Definition at line 79 of file gethist.C.

#define DATE_TOT_LENGTH
 

Value:

                       INTRO_LENGTH + STARLAB_LENGTH + VERSION_LENGTH \
                       + DATE_STR_LENGTH + DATE_SEP_LENGTH + VERSION_SEP_LENGTH

Definition at line 84 of file gethist.C.

#define INTRO_LENGTH   strlen(INTRO_PART)
 

Definition at line 74 of file gethist.C.

#define INTRO_PART   " ===> "
 

Definition at line 73 of file gethist.C.

#define STARLAB_LENGTH   strlen(STARLAB_PART)
 

Definition at line 76 of file gethist.C.

#define STARLAB_PART   "Starlab "
 

Definition at line 75 of file gethist.C.

#define USER_HEAD   " (user "
 

Definition at line 87 of file gethist.C.

#define VERSION_LENGTH   strlen(VERSION_PART)
 

Definition at line 78 of file gethist.C.

#define VERSION_PART   STARLAB_VERSION
 

Definition at line 77 of file gethist.C.

#define VERSION_SEPARATOR   " : "
 

Definition at line 82 of file gethist.C.

#define VERSION_SEP_LENGTH   strlen(VERSION_SEPARATOR)
 

Definition at line 83 of file gethist.C.


Function Documentation

local bool contains_white ( char * s )
 

Definition at line 31 of file gethist.C.

Referenced by eff_length(), and gethist().

local int eff_length ( char * s )
 

Definition at line 53 of file gethist.C.

Referenced by gethist().

char* gethist ( int argc,
char ** argv )
 

Definition at line 103 of file gethist.C.


Generated at Sun Feb 24 09:57:25 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001