The bbcr broke off my compilation help plz
This commit is contained in:
parent
91a639852f
commit
37c23e1b62
28 changed files with 1042 additions and 1256 deletions
26
dev_in.h
Normal file
26
dev_in.h
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue