]> sigrok.org Git - libsigrok.git/commit - session_file.c
Add sr_session_save_init().
authorBert Vermeulen <redacted>
Tue, 7 Jan 2014 11:52:23 +0000 (12:52 +0100)
committerBert Vermeulen <redacted>
Tue, 7 Jan 2014 11:55:02 +0000 (12:55 +0100)
commita769b9f357f9f298f015664044ee6c48651affc2
treea628444b7eb61d7166bfba2037a5889cb35ffad8
parent311622f69e35a1c82d76ece9995daf14d94c191f
Add sr_session_save_init().

This allows a frontend to initialize a session file, providing the
required samplerate and probe names, without having a proper
struct sr_dev_inst handy.

sr_session_append() is then used to add captured data to the session
file, as usual.

The existing sr_session_save() function works the same way as always.
proto.h
session_file.c