mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
3eac2360e7
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
30 lines
768 B
C
30 lines
768 B
C
#ifndef DEVICE_INFO_H
|
|
#define DEVICE_INFO_H
|
|
|
|
#ifdef __cplusplus
|
|
#include "dive.h"
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct device_info {
|
|
const char *model;
|
|
uint32_t deviceid;
|
|
|
|
const char *serial_nr;
|
|
const char *firmware;
|
|
const char *nickname;
|
|
struct device_info *next;
|
|
};
|
|
|
|
extern struct device_info *get_device_info(const char *model, uint32_t deviceid);
|
|
extern struct device_info *get_different_device_info(const char *model, uint32_t deviceid);
|
|
extern struct device_info *create_device_info(const char *model, uint32_t deviceid);
|
|
extern struct device_info *remove_device_info(const char *model, uint32_t deviceid);
|
|
extern struct device_info *head_of_device_info_list(void);
|
|
extern struct divecomputer *fake_dc(struct divecomputer* dc);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|