]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
manson-hcs-3xxx: Use maximum voltage and current read from device.
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index e4d667eae806cd723b5636bcad41d8053e6c2bb0..23d415b4e79ffe2e5afffda74bf9095f092954d3 100644 (file)
--- a/proto.h
+++ b/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);
@@ -132,7 +133,7 @@ SR_API int sr_output_free(struct sr_output *o);
 
 SR_API struct sr_trigger *sr_trigger_new(char *name);
 SR_API void sr_trigger_free(struct sr_trigger *trig);
-SR_API struct sr_trigger_stage *sr_trigger_stage_new(struct sr_trigger *trig);
+SR_API struct sr_trigger_stage *sr_trigger_stage_add(struct sr_trigger *trig);
 SR_API int sr_trigger_match_add(struct sr_trigger_stage *stage,
                struct sr_channel *ch, int trigger_match, float value);