Code which uses libcorsaro to convert an corsaro output file to ascii. More...
Go to the source code of this file.
Functions | |
static void | clean () |
Cleanup and free state. More... | |
static int | init_corsaro (char *corsarouri) |
Initialize a corsaro_in object for the given file name. More... | |
static void | usage (const char *name) |
Print usage information to stderr. More... | |
int | main (int argc, char *argv[]) |
Entry point for the cors2ascii tool. More... | |
Variables | |
static corsaro_in_t * | corsaro = NULL |
The corsaro_in object for reading the input file. More... | |
static corsaro_in_record_t * | record = NULL |
The record object to read into. More... | |
Code which uses libcorsaro to convert an corsaro output file to ascii.
Definition in file cors2ascii.c.
|
static |
Cleanup and free state.
Definition at line 54 of file cors2ascii.c.
References corsaro_finalize_input(), and corsaro_in_free_record().
Referenced by init_corsaro(), and main().
|
static |
Initialize a corsaro_in object for the given file name.
Definition at line 70 of file cors2ascii.c.
References clean(), corsaro_alloc_input(), corsaro_in_alloc_record(), and corsaro_start_input().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Entry point for the cors2ascii tool.
Definition at line 106 of file cors2ascii.c.
References clean(), corsaro_in_read_record(), CORSARO_IN_RECORD_TYPE_NULL, corsaro_io_print_record(), init_corsaro(), corsaro_in::plugin_manager, and usage().
|
static |
Print usage information to stderr.
Definition at line 99 of file cors2ascii.c.
Referenced by main().
|
static |
The corsaro_in object for reading the input file.
Definition at line 48 of file cors2ascii.c.
|
static |
The record object to read into.
Definition at line 51 of file cors2ascii.c.