]> sigrok.org Git - libsigrok.git/blobdiff - src/input/input.c
Add RL64 and RL64S endianness helper macros
[libsigrok.git] / src / input / input.c
index 5e8f2129676f1f2839953a7c5dd797debbd1fca9..7465e125cbab235c7685d1e13aab718ba944fd53 100644 (file)
@@ -64,6 +64,7 @@ extern SR_PRIV struct sr_input_module input_csv;
 extern SR_PRIV struct sr_input_module input_binary;
 extern SR_PRIV struct sr_input_module input_vcd;
 extern SR_PRIV struct sr_input_module input_wav;
+extern SR_PRIV struct sr_input_module input_raw_analog;
 /* @endcond */
 
 static const struct sr_input_module *input_module_list[] = {
@@ -72,6 +73,7 @@ static const struct sr_input_module *input_module_list[] = {
        &input_csv,
        &input_vcd,
        &input_wav,
+       &input_raw_analog,
        NULL,
 };
 
@@ -242,7 +244,7 @@ SR_API struct sr_input *sr_input_new(const struct sr_input_module *imod,
                GHashTable *options)
 {
        struct sr_input *in;
-       struct sr_option *mod_opts;
+       const struct sr_option *mod_opts;
        const GVariantType *gvt;
        GHashTable *new_opts;
        GHashTableIter iter;