SELKIELogger  1.0.0
Logger.c File Reference

Generates main data logging executable. More...

#include "Logger.h"
Include dependency graph for Logger.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
bool timespec_subtract (struct timespec *result, struct timespec *x, struct timespec *y)
 Difference between timespecs (used for rate keeping) More...
 
bool log_softwareVersion (msgqueue *q)
 Push current software version into message queue. More...
 
void destroy_global_opts (struct global_opts *go)
 Cleanup function for global_opts struct. More...
 
bool write_state_file (char *sFName, channel_stats stats[128][128], uint32_t lTS, char *vFName)
 Write out the state file. More...
 

Detailed Description

Generates main data logging executable.

Reads data from connected sensors, generates timestamps and writes the resulting messages to file for later conversion and analysis.

Definition in file Logger.c.

Function Documentation

◆ main()

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

Main Logger Executable

Parameters
[in]argcArgument count
[in]argvArguments
Returns
Exit status (0 for success)

Definition at line 41 of file Logger.c.