]> sigrok.org Git - libsigrok.git/blobdiff - session_file.c
Drop obsolete source_callback_*().
[libsigrok.git] / session_file.c
index 48a2747d805709a23d9f63c63c3fcef53cfd4bba..4d70b3514e92404dc49e7c9fa78271f0a78c918f 100644 (file)
@@ -136,13 +136,13 @@ int sr_session_load(const char *filename)
        return SR_OK;
 }
 
-int sr_session_save(char *filename)
+int sr_session_save(const char *filename)
 {
        GSList *l, *p, *d;
        FILE *meta;
        struct sr_device *device;
        struct sr_probe *probe;
-       struct datastore *ds;
+       struct sr_datastore *ds;
        struct zip *zipfile;
        struct zip_source *versrc, *metasrc, *logicsrc;
        int bufcnt, devcnt, tmpfile, ret, error, probecnt;