jsfw/client.h

25 lines
469 B
C
Raw Normal View History

2022-08-30 17:54:56 -05:00
// vi:ft=c
#ifndef CLIENT_H_
#define CLIENT_H_
2022-08-30 11:45:53 -05:00
#include <stdint.h>
2022-10-07 18:36:53 -05:00
#include <time.h>
2022-08-29 17:27:03 -05:00
2022-10-07 18:36:53 -05:00
void client_run(char *address, uint16_t port, char *config_path);
typedef struct {
char *tag;
int32_t device_vendor;
int32_t device_product;
char *device_name;
} ClientController;
typedef struct {
ClientController *controllers;
2022-10-12 15:28:50 -05:00
size_t controller_count;
2022-10-07 18:36:53 -05:00
char *fifo_path;
struct timespec retry_delay;
} ClientConfig;
2022-08-29 17:27:03 -05:00
#endif