Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

stilcom.cpp File Reference

#include <errno.h>
#include <sys/stat.h>
#include <stdarg.h>
#include "stilcomstr.h"
#include "stilcom.h"

Defines

#define COM_MSGBUF_LEN   32000

Functions

LONG com_abortrc (STRING abortlev)
LONG com_debuglevel (STRING debuglev)
void com_msg (MSG_LEV_ msg_lev, const STRING fileid, LONG *p_SRC, const STRING msgtext)
void com_msg (MSG_LEV_ msg_lev, const char *fileid, LONG *p_SRC, const char *msgtext)
const char * com_msgstr (const STRING format,...)
const char * com_msgstr (const char *format,...)

Variables

BOOLEAN buf_overflow = false
LONG COM_RC = 0
LONG COM_ABORT_RC = 16
LONG COM_DBGLEV = 0
LONG COM_MSGFLUSH = 0
char COM_MSGBUF [COM_MSGBUF_LEN] = ""
ofstream COM_ostats

Define Documentation

#define COM_MSGBUF_LEN   32000
 


Function Documentation

LONG com_abortrc STRING  abortlev  ) 
 

旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커 Name : com_abortrc Purpose : Common processor of the abort level. Parms : (STRING) the specified abort level (W, E, S or T). Returns : (LONG ) SRC. 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸

LONG com_debuglevel STRING  debuglev  ) 
 

旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커 Name : com_debuglevel Purpose : Common processor of the debug level. Parms : (STRING) the specified debug level (0, 1, 2, 3, 4 or 5). Returns : (LONG ) SRC. 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸

void com_msg MSG_LEV_  msg_lev,
const char *  fileid,
LONG p_SRC,
const char *  msgtext
 

旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커 Name : com_msg Purpose : Common processor for handling message requests. Also checks the corresponding message code against the global return code to determine if processing should terminate. Parms : (MSG_LEV_) the type of message being written. (const char *) the file id. (LONG*) pointer to the local return code (const char *) printf-type format sstring. Returns : (void) 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸

void com_msg MSG_LEV_  msg_lev,
const STRING  fileid,
LONG p_SRC,
const STRING  msgtext
 

旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커 Name : com_msg Purpose : Common processor for handling message requests. Also checks the corresponding message code against the global return code to determine if processing should terminate. Parms : (MSG_LEV_) the type of message being written. (const char *) the file id. (LONG*) pointer to the local return code (const char *) printf-type format sstring. Returns : (void) 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸

const char* com_msgstr const char *  format,
  ...
 

旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커 Name : com_msgstr Purpose : Format a sstring with printf-type syntax. Parms : (const char *) printf-type format sstring. Returns : (STRING) 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸

const char* com_msgstr const STRING  format,
  ...
 

旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커 Name : com_msgstr Purpose : Format a sstring with printf-type syntax. Parms : (const STRING) printf-type format sstring. (copy from function above-change both) Returns : (STRING) 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸


Variable Documentation

BOOLEAN buf_overflow = false
 

LONG COM_ABORT_RC = 16
 

LONG COM_DBGLEV = 0
 

char COM_MSGBUF[COM_MSGBUF_LEN] = ""
 

LONG COM_MSGFLUSH = 0
 

ofstream COM_ostats
 

LONG COM_RC = 0
 


This page last updated on 6 Jul 2007

SourceForge.net Logo