diff options
author | Bert Vermeulen <bert@biot.com> | 2013-03-19 01:01:25 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-03-19 01:58:22 +0100 |
commit | 0ff2d191726ef2e5a30ce697c7c93e4b0b1605f3 (patch) | |
tree | dc27afab26a0f72f46f8d8c9bbc7d715db1359ed /sigrokdecode.h.in | |
parent | 47198f313a3c3e6431f5896fae3fb556f38746ed (diff) | |
download | libsigrokdecode-0ff2d191726ef2e5a30ce697c7c93e4b0b1605f3.tar.gz libsigrokdecode-0ff2d191726ef2e5a30ce697c7c93e4b0b1605f3.zip |
code cleanup
Diffstat (limited to 'sigrokdecode.h.in')
-rw-r--r-- | sigrokdecode.h.in | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/sigrokdecode.h.in b/sigrokdecode.h.in index ca069c5..a7221fa 100644 --- a/sigrokdecode.h.in +++ b/sigrokdecode.h.in @@ -155,7 +155,6 @@ enum { #define SRD_MAX_NUM_PROBES 64 -/* TODO: Documentation. */ struct srd_decoder { /** The decoder ID. Must be non-NULL and unique for all decoders. */ char *id; @@ -267,20 +266,19 @@ typedef struct { SRD_API int srd_init(const char *path); SRD_API int srd_exit(void); SRD_API int srd_inst_option_set(struct srd_decoder_inst *di, - GHashTable *options); + GHashTable *options); SRD_API int srd_inst_probe_set_all(struct srd_decoder_inst *di, - GHashTable *probes); + GHashTable *probes); SRD_API struct srd_decoder_inst *srd_inst_new(const char *id, - GHashTable *options); + GHashTable *options); SRD_API int srd_inst_stack(struct srd_decoder_inst *di_from, - struct srd_decoder_inst *di_to); + struct srd_decoder_inst *di_to); SRD_API struct srd_decoder_inst *srd_inst_find_by_id(const char *inst_id); -SRD_API int srd_session_start(int num_probes, int unitsize, - uint64_t samplerate); +SRD_API int srd_session_start(int num_probes, int unitsize, uint64_t samplerate); SRD_API int srd_session_send(uint64_t start_samplenum, const uint8_t *inbuf, - uint64_t inbuflen); + uint64_t inbuflen); SRD_API int srd_pd_output_callback_add(int output_type, - srd_pd_output_callback_t cb, void *cb_data); + srd_pd_output_callback_t cb, void *cb_data); /*--- decoder.c -------------------------------------------------------------*/ |