mirror of
https://github.com/stupidcomputer/jsfw.git
synced 2024-12-27 05:47:37 -06:00
21 lines
714 B
C
21 lines
714 B
C
// vi:ft=c
|
|
#ifndef CONST_H_
|
|
#define CONST_H_
|
|
#include <stdint.h>
|
|
#include <time.h>
|
|
|
|
extern const struct timespec POLL_DEVICE_INTERVAL;
|
|
extern const char *DEVICE_DEFAULT_NAME;
|
|
extern const char *FIFO_PATH;
|
|
extern const uint32_t CONNECTION_RETRY_DELAY;
|
|
extern const uint16_t VIRTUAL_DEVICE_VENDOR;
|
|
extern const uint16_t VIRTUAL_DEVICE_PRODUCT;
|
|
extern const uint16_t VIRTUAL_DEVICE_VERSION;
|
|
extern const char *VIRTUAL_DEVICE_NAME;
|
|
extern const int TCP_KEEPALIVE_ENABLE;
|
|
extern const int TCP_KEEPALIVE_IDLE_TIME;
|
|
extern const int TCP_KEEPALIVE_RETRY_COUNT;
|
|
extern const int TCP_KEEPALIVE_RETRY_INTERVAL;
|
|
|
|
#endif
|