The bbcr broke off my compilation help plz

This commit is contained in:
Denis 2023-12-06 21:05:02 +01:00
parent 91a639852f
commit 37c23e1b62
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
28 changed files with 1042 additions and 1256 deletions

26
dev_in.h Normal file
View file

@ -0,0 +1,26 @@
#pragma once
#include "message.h"
#include "input_dev.h"
typedef struct dev_in_data {
size_t max_messages_in_flight;
// the timeout (in missileconds)
uint64_t timeout_ms;
// declarations of devices to monitor
input_dev_t *input_dev_decl;
// number of devices to monitor
size_t input_dev_cnt;
// this pipe is reserved for reporting in_message_t
int in_message_pipe_fd;
// this messages is reserved for receiving out_message_t
int out_message_pipe_fd;
} dev_in_data_t;
void *dev_in_thread_func(void *ptr);