41 for(
int i=0; i<ac; i++)
55 if(strchr(file,
'\\') == NULL) cptr = NULL;
56 else cptr = strrchr(file,
'\\');
57 if(cptr != NULL) cptr++;
63 if(strchr(file,
']') == NULL) cptr = NULL;
64 else cptr = strrchr(file,
']');
65 if(cptr != NULL) cptr++;
90 if(event_type < 0 ) event_type =
rlError;
103 sprintf(
rlfinal,
"%s %s %s %s%s\n",
void rlEventPrintf(int event_type, const char *format,...)
const char * getTimeString()
static char rlmessage[rlMAX_EVENT]
static const char rlevent_name[][4]
static char rlfinal[rlMAX_EVENT *4]
void rlSetEventLocation(const char *file, int line)
int rlvsnprintf(char *text, int len, const char *format, va_list ap)
void rlEventInit(int ac, char **av, const char *module)
char * rlstrncpy(char *dest, const char *source, int n)
void setAdr(const char *adr)
static char rllocation[rlMAX_EVENT]
static rlSocket toEventLogServer("localhost",-1, 1)
int printf(const char *format,...)