* the context will be free'd by sr_exit() as part of the libsigrok
* shutdown.
*
- * @since 0.1.0 (but the API changed in 0.2.0)
+ * @since 0.2.0
*/
SR_API int sr_init(struct sr_context **ctx)
{
*
* @return SR_OK upon success, a (negative) error code otherwise.
*
- * @since 0.1.0 (but the API changed in 0.2.0)
+ * @since 0.2.0
*/
SR_API int sr_exit(struct sr_context *ctx)
{
*
* @return SR_OK on success, or SR_ERR_ARG on invalid arguments.
*
- * @since 0.1.0 (but the API changed in 0.2.0)
+ * @since 0.2.0
*/
SR_API int sr_dev_probe_name_set(const struct sr_dev_inst *sdi,
int probenum, const char *name)
*
* @return SR_OK on success, or SR_ERR_ARG on invalid arguments.
*
- * @since 0.1.0 (but the API changed in 0.2.0)
+ * @since 0.2.0
*/
SR_API int sr_dev_trigger_set(const struct sr_dev_inst *sdi, int probenum,
const char *trigger)
* FALSE is also returned on invalid input parameters or other
* error conditions.
*
- * @since 0.1.0 (but the API changed in 0.2.0)
+ * @since 0.2.0
*/
SR_API gboolean sr_dev_has_option(const struct sr_dev_inst *sdi, int key)
{
* @return The list of devices/instances of this driver, or NULL upon errors
* or if the list is empty.
*
- * @since 0.1.0 (but the API changed in 0.2.0)
+ * @since 0.2.0
*/
SR_API GSList *sr_dev_list(const struct sr_dev_driver *driver)
{
* If something other than SR_OK is returned, the values of
* out_unitsize, data_out, and length_out are undefined.
*
- * @since 0.1.0 (but the API changed in 0.2.0)
+ * @since 0.2.0
*/
SR_API int sr_filter_probes(unsigned int in_unitsize, unsigned int out_unitsize,
const GArray *probe_array, const uint8_t *data_in,