]> sigrok.org Git - libsigrokdecode.git/blobdiff - libsigrokdecode.h
struct srd_decoder: Add list of input/output decoder IDs.
[libsigrokdecode.git] / libsigrokdecode.h
index 8d1d5ae8212cc5f49eafd4d88488fe5c5f85376e..df1cb5c481192d95fbfe5fb9e491ee3e81965291 100644 (file)
@@ -154,6 +154,12 @@ struct srd_decoder {
         */
        char *license;
 
+       /** List of possible decoder input IDs. */
+       GSList *inputs;
+
+       /** List of possible decoder output IDs. */
+       GSList *outputs;
+
        /** List of channels required by this decoder. */
        GSList *channels;
 
@@ -261,6 +267,9 @@ struct srd_decoder_inst {
        /** Indicates whether the worker thread has handled all samples. */
        gboolean handled_all_samples;
 
+       /** Requests termination of wait() and decode(). */
+       gboolean want_wait_terminate;
+
        GCond got_new_samples_cond;
        GCond handled_all_samples_cond;
        GMutex data_mutex;
@@ -360,6 +369,8 @@ SRD_API int srd_lib_version_current_get(void);
 SRD_API int srd_lib_version_revision_get(void);
 SRD_API int srd_lib_version_age_get(void);
 SRD_API const char *srd_lib_version_string_get(void);
+SRD_API GSList *srd_buildinfo_libs_get(void);
+SRD_API char *srd_buildinfo_host_get(void);
 
 #include "version.h"