]> sigrok.org Git - libsigrokdecode.git/commitdiff
srd/cli/qt: s/srd_session_feed/srd_session_send/.
authorUwe Hermann <redacted>
Tue, 20 Mar 2012 16:58:25 +0000 (17:58 +0100)
committerUwe Hermann <redacted>
Wed, 21 Mar 2012 22:20:06 +0000 (23:20 +0100)
controller.c
sigrokdecode.h

index 5979c3483b10ab8aa8cec51e919926d95136ad1b..4ba4de1458bc562e89b38551b79209c3e44c4334 100644 (file)
@@ -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;
index 7e0b550f8d7794e893f5dc010453c65f2800e0ef..3f2d3c987e36511e5db8de71c19233a90867b667 100644 (file)
@@ -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);