const struct sr_datafeed_packet *packet);
SR_PRIV int sr_session_stop_sync(void);
SR_PRIV int sr_sessionfile_check(const char *filename);
-SR_PRIV struct sr_trigger *sr_session_trigger_get(void);
/*--- std.c -----------------------------------------------------------------*/
typedef void (*sr_datafeed_callback)(const struct sr_dev_inst *sdi,
const struct sr_datafeed_packet *packet, void *cb_data);
+SR_API struct sr_trigger *sr_session_trigger_get(void);
/* Session setup */
SR_API int sr_session_load(const char *filename);
return SR_OK;
}
-SR_PRIV struct sr_trigger *sr_session_trigger_get(void)
+SR_API struct sr_trigger *sr_session_trigger_get(void)
{
return session->trigger;
}