#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <time.h>
#include <time_ew.h>
#include <earthworm.h>
Go to the source code of this file.
Defines | |
#define | DATE_LEN 10 /** Length of the date field **/ |
Functions | |
void | logit_init (char *prog, short mid, int bufSize, int logflag) |
void | logit (char *flag, char *format,...) |
int | get_prog_name (char *full_name, char *prog_name) |
void | html_logit (char *flag, char *format,...) |
Variables | |
FILE * | fp = NULL |
char | date [DATE_LEN] |
char | date_prev [DATE_LEN] |
time_t | now |
char | logName [256] |
char | logpath [128] |
char | template [64] |
char | extension [12] |
char * | buf |
tm | res |
int | init = 0 |
int | disk = 1 |
int | soe = 1 |
int | pid |
int | logbuffersize |
int | bErrorIssuedToStderr = 0 |
|
|
|
Definition at line 650 of file logit.c. References EW_FAILURE, and EW_SUCCESS. Referenced by logit_init(). |
|
Definition at line 692 of file logit.c. References bErrorIssuedToStderr, buf, fp, gmtime_ew(), init, logbuffersize, ReleaseSpecificMutex(), RequestSpecificMutex(), and res. |
|
|
Definition at line 198 of file logit.c. References buf, CreateSpecificMutex(), disk, EW_SUCCESS, fp, get_prog_name(), gmtime_ew(), init, logbuffersize, logit(), pid, res, and soe. Referenced by main(). |
|
Definition at line 163 of file logit.c. Referenced by html_logit(), and logit(). |
|
Definition at line 147 of file logit.c. Referenced by html_logit(), logit(), and logit_init(). |
|
|
|
|
|
Definition at line 150 of file logit.c. Referenced by logit_init(). |
|
|
|
Definition at line 139 of file logit.c. Referenced by html_logit(), logit(), and logit_init(). |
|
Definition at line 149 of file logit.c. Referenced by html_logit(), logit(), and logit_init(). |
|
Definition at line 157 of file logit.c. Referenced by html_logit(), logit(), and logit_init(). |
|
|
|
|
|
|
|
Definition at line 152 of file logit.c. Referenced by logit_init(). |
|
Definition at line 148 of file logit.c. Referenced by html_logit(), logit(), and logit_init(). |
|
Definition at line 151 of file logit.c. Referenced by logit(), and logit_init(). |
|
|