]> sigrok.org Git - libsigrok.git/blobdiff - sigrok.h
Make load_hwplugins() private.
[libsigrok.git] / sigrok.h
index 7d19725fd238ce49775440a93ec2266886a85906..e2bbecc59a24281af38471a7ce5ec7701dc5570d 100644 (file)
--- a/sigrok.h
+++ b/sigrok.h
@@ -175,7 +175,7 @@ struct analyzer {
 /* 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 */
@@ -196,7 +196,7 @@ struct sr_device {
        /* List of struct sr_probe* */
        GSList *probes;
        /* Data acquired by this device, if any */
-       struct datastore *datastore;
+       struct sr_datastore *datastore;
 };
 
 enum {
@@ -237,7 +237,7 @@ enum {
        SR_HWCAP_CONTINUOUS,
 };
 
-struct hwcap_option {
+struct sr_hwcap_option {
        int capability;
        int type;
        char *description;