/* Size of a chunk in units */
#define DATASTORE_CHUNKSIZE 512000
-struct datastore {
+struct sr_datastore {
/* Size in bytes of the number of units stored in this datastore */
int ds_unitsize;
unsigned int num_units; /* TODO: uint64_t */
/* List of struct sr_probe* */
GSList *probes;
/* Data acquired by this device, if any */
- struct datastore *datastore;
+ struct sr_datastore *datastore;
};
enum {
SR_HWCAP_CONTINUOUS,
};
-struct hwcap_option {
+struct sr_hwcap_option {
int capability;
int type;
char *description;