]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
configure.ac: Disable atten-pps3xxx driver if libserialport is not found.
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index 7ec6ae4f16905cdcfeb5fd25b1939d7ff32231d8..57c7f2d98130cc3dd0c23a0b4a8864cb1ef5604b 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -17,8 +17,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef LIBSIGROK_SIGROK_PROTO_H
-#define LIBSIGROK_SIGROK_PROTO_H
+#ifndef LIBSIGROK_PROTO_H
+#define LIBSIGROK_PROTO_H
 
 /**
  * @file
@@ -108,6 +108,8 @@ SR_API int sr_session_run(void);
 SR_API int sr_session_stop(void);
 SR_API int sr_session_save(const char *filename, const struct sr_dev_inst *sdi,
                unsigned char *buf, int unitsize, int units);
+SR_API int sr_session_save_init(const char *filename, uint64_t samplerate,
+               char **probes);
 SR_API int sr_session_append(const char *filename, unsigned char *buf,
                int unitsize, int units);
 SR_API int sr_session_source_add(int fd, int events, int timeout,