SELKIELogger  1.0.0
ExtractSource.c File Reference

Extract subset of messages from .dat file. More...

#include <errno.h>
#include <libgen.h>
#include <stdbool.h>
#include <stdio.h>
#include <sys/stat.h>
#include <unistd.h>
#include <zlib.h>
#include "SELKIELoggerBase.h"
#include "SELKIELoggerMP.h"
#include "version.h"
Include dependency graph for ExtractSource.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

Extract subset of messages from .dat file.

Definition in file ExtractSource.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Writes a new .dat file containing only messages with a specific source ID.

Parameters
[in]argcArgument count
[in]argvArguments
Returns
-1 on error, otherwise 0

Definition at line 47 of file ExtractSource.c.