* For example, the module might store a pointer to a chunk of output
* there, and only flush it when it reaches a certain size.
*/
- void *internal;
+ void *priv;
};
/** Output module driver. */
* If cached is TRUE, no new GVariants are created for the def and
* values fields; instead, the current values are returned.
*/
- struct sr_option *(*options) (gboolean cached);
+ struct sr_option *(*options) (void);
/**
* This function is called once, at the beginning of an output stream.
SR_PRIV int sr_rs9lcd_parse(const uint8_t *buf, float *floatval,
struct sr_datafeed_analog *analog, void *info);
+/*--- hardware/common/dmm/bm25x.c -----------------------------------------*/
+
+#define BRYMEN_BM25X_PACKET_SIZE 15
+
+/* Dummy info struct. The parser does not use it. */
+struct bm25x_info { int dummy; };
+
+SR_PRIV gboolean sr_brymen_bm25x_packet_valid(const uint8_t *buf);
+SR_PRIV int sr_brymen_bm25x_parse(const uint8_t *buf, float *floatval,
+ struct sr_datafeed_analog *analog, void *info);
+
#endif