2022-06-08 11:25:19 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <unistd.h>
|
2022-06-09 17:34:24 +02:00
|
|
|
#include <stdbool.h>
|
2022-06-21 15:13:10 +02:00
|
|
|
#define __USE_ISOC11 1
|
2022-06-08 11:25:19 +02:00
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
uint8_t octet1;
|
|
|
|
uint8_t octet2;
|
|
|
|
uint8_t octet3;
|
|
|
|
uint8_t octet4;
|
|
|
|
} quartet;
|
|
|
|
|
2022-06-10 17:22:01 +02:00
|
|
|
extern int cptData;
|
|
|
|
extern int cptFile;
|
|
|
|
|
2022-06-13 15:03:51 +02:00
|
|
|
char *convertIntegerToChar(int N);
|
2022-06-09 17:34:24 +02:00
|
|
|
bool writeOneRawData(FILE *f);
|
2022-06-14 10:46:12 +02:00
|
|
|
void *threadSimulateFlux(void *vargp);
|