+#define SIGROKDECODE_ERR_ARGS -3 /* Function argument error */
+#define SIGROKDECODE_ERR_PYTHON -4 /* Python C API error */
+#define SIGROKDECODE_ERR_DECODERS_DIR -5 /* Protocol decoder path invalid */
+
+/* TODO: Documentation. */
+struct sigrokdecode_decoder {
+ char *id;
+ char *name;
+ char *desc;
+ char *func;
+ GSList *inputformats;
+ GSList *outputformats;
+
+ PyObject *py_mod;
+ PyObject *py_func;
+};