Definition: log_reader.h:38
int fd
Definition: log_reader.h:46
teoLogReaderClass * teoLogReaderInit(void *ke)
Definition: log_reader.c:25
size_t line_buf_size
Definition: log_reader.h:30
const char data[]
Make it with: gcc -o post-callback post-callback.c -lcurl.
Definition: post-callback.c:23
teoLogReaderWatcher * teoLogReaderOpen(teoLogReaderClass *lr, const char *name, const char *file_name, teoLogReaderFlag flags)
Definition: log_reader.c:150
void * user_data
Definition: log_reader.h:44
_teoLogReaderFlag
Definition: log_reader.h:18
teoLogReaderWatcher * teoLogReaderOpenCbPP(teoLogReaderClass *lr, const char *name, const char *file_name, teoLogReaderFlag flags, teoLogReaderCallback cb, void *user_data)
Definition: log_reader.c:116
int teoLogReaderClose(teoLogReaderWatcher *wd)
Definition: log_reader.c:155
void(* teoLogReaderCallback)(void *data, size_t data_length, teoLogReaderWatcher *wd)
Definition: log_reader.h:36
teoLogReaderClass * lr
Definition: log_reader.h:41
const char * name
Definition: log_reader.h:43
const char * file_name
Definition: log_reader.h:42
Definition: log_reader.h:20
teoLogReaderWatcher * teoLogReaderOpenCb(teoLogReaderClass *lr, const char *name, const char *file_name, teoLogReaderFlag flags, teoLogReaderCallback cb)
Definition: log_reader.c:144
void teoLogReaderDestroy(teoLogReaderClass *lr)
Definition: log_reader.c:38
teoLogReaderCallback cb
Definition: log_reader.h:39
uint32_t teoLogReaderFlag
Definition: log_reader.h:17
void * ke
Definition: log_reader.h:26
teoLogReaderFlag flags
Definition: log_reader.h:40
struct teoLogReaderClass teoLogReaderClass
void * buffer
Definition: log_reader.h:27
Definition: log_reader.h:19
ev_stat * w
Definition: log_reader.h:45
void * line_buffer
Definition: log_reader.h:29
struct teoLogReaderWatcher teoLogReaderWatcher
Definition: log_reader.h:34
size_t buf_size
Definition: log_reader.h:28
Definition: log_reader.h:24
Definition: log_reader.h:21