2014-02-11 19:14:46 +01:00
|
|
|
#ifndef DEVICE_H
|
|
|
|
#define DEVICE_H
|
2013-01-09 12:07:09 -08:00
|
|
|
|
2013-04-01 13:51:49 +03:00
|
|
|
#ifdef __cplusplus
|
2013-06-10 13:35:27 -03:00
|
|
|
#include "dive.h"
|
2013-04-01 13:51:49 +03:00
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-02-27 20:09:57 -08:00
|
|
|
extern struct divecomputer *fake_dc(struct divecomputer *dc);
|
2013-06-17 15:58:26 -07:00
|
|
|
extern void create_device_node(const char *model, uint32_t deviceid, const char *serial, const char *firmware, const char *nickname);
|
2014-01-16 09:03:11 +07:00
|
|
|
extern void call_for_each_dc(void *f, void (*callback)(void *, const char *, uint32_t,
|
2015-06-10 07:24:34 -07:00
|
|
|
const char *, const char *, const char *), bool select_only);
|
2013-01-09 12:07:09 -08:00
|
|
|
|
2013-04-01 13:51:49 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2014-02-11 19:14:46 +01:00
|
|
|
#endif // DEVICE_H
|