summaryrefslogtreecommitdiff
path: root/libsigrokdecode-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsigrokdecode-internal.h')
-rw-r--r--libsigrokdecode-internal.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/libsigrokdecode-internal.h b/libsigrokdecode-internal.h
index 2951fa3..db25677 100644
--- a/libsigrokdecode-internal.h
+++ b/libsigrokdecode-internal.h
@@ -26,9 +26,6 @@
struct srd_session {
int session_id;
- uint64_t num_probes;
- uint64_t unitsize;
- uint64_t samplerate;
/* List of decoder instances. */
GSList *di_list;
@@ -42,10 +39,10 @@ struct srd_session {
SRD_PRIV int srd_decoder_searchpath_add(const char *path);
SRD_PRIV struct srd_decoder_inst *srd_inst_find_by_obj( const GSList *stack,
const PyObject *obj);
-SRD_PRIV int srd_inst_start(struct srd_decoder_inst *di, PyObject *args);
-SRD_PRIV int srd_inst_decode(uint64_t start_samplenum,
- const struct srd_decoder_inst *dec,
- const uint8_t *inbuf, uint64_t inbuflen);
+SRD_PRIV int srd_inst_start(struct srd_decoder_inst *di);
+SRD_PRIV int srd_inst_decode(const struct srd_decoder_inst *di,
+ uint64_t start_samplenum, uint64_t end_samplenum,
+ const uint8_t *inbuf, uint64_t inbuflen);
SRD_PRIV void srd_inst_free(struct srd_decoder_inst *di);
SRD_PRIV void srd_inst_free_all(struct srd_session *sess, GSList *stack);
SRD_PRIV struct srd_pd_callback *srd_pd_output_callback_find(struct srd_session *sess,