![]() |
libsigrok
0.3.0
sigrok hardware access and backend library
|
Loading and saving libsigrok session files. More...
#include <string.h>#include <stdlib.h>#include <unistd.h>#include <zip.h>#include <sys/types.h>#include <sys/stat.h>#include <errno.h>#include <glib.h>#include <glib/gstdio.h>#include "config.h"#include "libsigrok.h"#include "libsigrok-internal.h"
Include dependency graph for session_file.c:Go to the source code of this file.
Functions | |
| int | sr_session_load (const char *filename) |
| Load the session from the specified filename. | |
| int | sr_session_save (const char *filename, const struct sr_dev_inst *sdi, unsigned char *buf, int unitsize, int units) |
| Save the current session to the specified file. | |
| int | sr_session_save_init (const char *filename, uint64_t samplerate, char **channels) |
| Initialize a saved session file. | |
| int | sr_session_append (const char *filename, unsigned char *buf, int unitsize, int units) |
| Append data to an existing session file. | |
Variables | |
| struct sr_session * | session |
| SR_PRIV struct sr_dev_driver | session_driver |
Loading and saving libsigrok session files.
Definition in file session_file.c.
1.7.6.1