aboutsummaryrefslogtreecommitdiff
path: root/src/survive_internal.h
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2016-11-30 23:55:04 -0500
committercnlohr <lohr85@gmail.com>2016-11-30 23:55:04 -0500
commit7930400aaca31089be48fe077d0c591294d727a5 (patch)
tree8f9119efa9ce24dc12e23eb0d564ba9281e10411 /src/survive_internal.h
parent8b77db6280c6d832eb89455e1b30877454a9a5a1 (diff)
downloadlibsurvive-7930400aaca31089be48fe077d0c591294d727a5.tar.gz
libsurvive-7930400aaca31089be48fe077d0c591294d727a5.tar.bz2
Update the thing to get a specific tag
Diffstat (limited to 'src/survive_internal.h')
-rw-r--r--src/survive_internal.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/survive_internal.h b/src/survive_internal.h
index 394842b..a7d8ca9 100644
--- a/src/survive_internal.h
+++ b/src/survive_internal.h
@@ -45,11 +45,14 @@ struct SurviveUSBInterface
const char * hname; //human-readable names
};
-struct SurvivePhoto
+
+struct SurviveObject
{
- uint32_t last;
- uint32_t lastcode;
- uint32_t lastlength;
+ struct SurviveContext * ctx;
+ int32_t last_photo_time;
+ short total_photos;
+ int32_t total_photo_time;
+ int sensors;
};
struct SurviveContext
@@ -61,6 +64,8 @@ struct SurviveContext
struct libusb_device_handle * udev[MAX_USB_DEVS];
struct SurviveUSBInterface uiface[MAX_INTERFACES];
+ //Data Subsystem
+ struct SurviveObject headset;
// struct SurvivePhoto
};