gtdc/tdc_store.h
2008-03-17 18:36:41 +01:00

26 lines
412 B
C

#ifndef TDC_STORE_H_
#define TDC_STORE_H_
#include <stdint.h>
struct tdc_var {
uint32_t id;
uint32_t flags;
union {
uint8_t data_uint8;
uint16_t data_uint16;
uint32_t data_uint32;
uint64_t data_uint64;
float data_float;
double data_double;
};
char name[0];
};
int tdc_parse_data(int fd);
void tdc_flush_vars(void);
void tdc_send_hello(int fd);
void tdc_init(void);
#endif /* TDC_STORE_H_ */