#include <string.h>
#include <glib.h>
#include <sigrok.h>
+#include <sigrok-internal.h>
static gpointer new_chunk(struct sr_datastore **ds);
#include <glib.h>
#include <glib/gstdio.h>
#include <sigrok.h>
+#include <sigrok-internal.h>
extern struct sr_session *session;
extern struct sr_device_plugin session_driver;
-
int sr_session_load(const char *filename)
{
GKeyFile *kf;
return SR_OK;
}
-
#define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a)
#endif
+/* Size of a datastore chunk in units */
+#define DATASTORE_CHUNKSIZE 512000
+
/*--- hwplugin.c ------------------------------------------------------------*/
int load_hwplugins(void);
*/
};
-/* Size of a chunk in units */
-#define DATASTORE_CHUNKSIZE 512000
-
struct sr_datastore {
/* Size in bytes of the number of units stored in this datastore */
int ds_unitsize;