X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok.h.in;h=2e888ccafa13e72c434bc8a0f977a26aaea24afd;hb=3af71f0da646de1e61ccbed2e85e3fca9798565c;hp=4f3be9354c62f2b9f14b6992928d28139b0b0e27;hpb=a0ecd83bc6e07ea412db5cd0108d50d89e36df8f;p=libsigrok.git diff --git a/sigrok.h.in b/sigrok.h.in index 4f3be935..2e888cca 100644 --- a/sigrok.h.in +++ b/sigrok.h.in @@ -84,15 +84,6 @@ enum { SR_T_BOOL, }; -#if 0 -/* (Unused) protocol decoder stack entry */ -struct sr_protocol { - char *name; - int id; - int stackindex; -}; -#endif - /* sr_datafeed_packet.type values */ enum { SR_DF_HEADER, @@ -177,17 +168,6 @@ struct sr_output_format { uint64_t *length_out); }; -#if 0 -struct sr_analyzer { - char *name; - char *filename; - /* - * TODO: Parameters? If so, configured plugins need another struct. - * TODO: Input and output format? - */ -}; -#endif - struct sr_datastore { /* Size in bytes of the number of units stored in this datastore */ int ds_unitsize; @@ -355,6 +335,8 @@ enum { SR_DI_INSTANCE, /* The number of probes connected to this device */ SR_DI_NUM_PROBES, + /* The probe names on this device */ + SR_DI_PROBE_NAMES, /* Samplerates supported by this device, (struct sr_samplerates) */ SR_DI_SAMPLERATES, /* Types of trigger supported, out of "01crf" (char *) */