session: Expose sr_session_trigger_get() as a public API call.
This commit is contained in:
parent
649e9e1677
commit
d292f767bd
|
@ -303,7 +303,6 @@ SR_PRIV int sr_session_send(const struct sr_dev_inst *sdi,
|
|||
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 -----------------------------------------------------------------*/
|
||||
|
||||
|
|
1
proto.h
1
proto.h
|
@ -80,6 +80,7 @@ SR_API const struct sr_config_info *sr_config_info_name_get(const char *optname)
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue