summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-20 17:58:25 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-21 23:20:06 +0100
commit29dad0ac4acd7174cee00556f6104594497fe970 (patch)
tree595db8018aa1652c7f8551adb60d27e90569119e
parent8ad6e500312084cd4ae43c7bda476cc7370cda20 (diff)
downloadlibsigrokdecode-29dad0ac4acd7174cee00556f6104594497fe970.tar.gz
libsigrokdecode-29dad0ac4acd7174cee00556f6104594497fe970.zip
srd/cli/qt: s/srd_session_feed/srd_session_send/.
-rw-r--r--controller.c4
-rw-r--r--sigrokdecode.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/controller.c b/controller.c
index 5979c34..4ba4de1 100644
--- a/controller.c
+++ b/controller.c
@@ -740,7 +740,7 @@ SRD_API int srd_session_start(int num_probes, int unitsize, uint64_t samplerate)
}
/**
- * Feed a chunk of logic sample data to a running decoder session.
+ * Send a chunk of logic sample data to a running decoder session.
*
* @param start_samplenum The sample number of the first sample in this chunk.
* @param inbuf Pointer to sample data.
@@ -748,7 +748,7 @@ SRD_API int srd_session_start(int num_probes, int unitsize, uint64_t samplerate)
*
* @return SRD_OK upon success, a (negative) error code otherwise.
*/
-SRD_API int srd_session_feed(uint64_t start_samplenum, const uint8_t *inbuf,
+SRD_API int srd_session_send(uint64_t start_samplenum, const uint8_t *inbuf,
uint64_t inbuflen)
{
GSList *d;
diff --git a/sigrokdecode.h b/sigrokdecode.h
index 7e0b550..3f2d3c9 100644
--- a/sigrokdecode.h
+++ b/sigrokdecode.h
@@ -224,7 +224,7 @@ SRD_API int srd_inst_stack(struct srd_decoder_inst *di_from,
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_feed(uint64_t start_samplenum, const uint8_t *inbuf,
+SRD_API int srd_session_send(uint64_t start_samplenum, const uint8_t *inbuf,
uint64_t inbuflen);
SRD_API int srd_register_callback(int output_type,
srd_pd_output_callback_t cb, void *cb_data);