Traitement-signal-plantes/Code-C/Include/simulateFlux.h

22 lines
408 B
C

#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
#define __USE_ISOC11 1
#include <time.h>
typedef struct {
uint8_t octet1;
uint8_t octet2;
uint8_t octet3;
uint8_t octet4;
} quartet;
extern int cptData;
extern int cptFile;
char *convertIntegerToChar(int N);
bool writeOneRawData(FILE *f);
void *threadSimulateFlux(void *vargp);