![]() |
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"
Go to the source code of this file.
Macros | |
#define | LOG_PREFIX "session-file" |
Functions | |
int | sr_session_load (const char *filename) |
Load the session from the specified filename. More... | |
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. More... | |
int | sr_session_save_init (const char *filename, uint64_t samplerate, char **channels) |
Initialize a saved session file. More... | |
int | sr_session_append (const char *filename, unsigned char *buf, int unitsize, int units) |
Append data to an existing session file. More... | |
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.
#define LOG_PREFIX "session-file" |