#ifndef SIGROK_SIGROK_INTERNAL_H
#define SIGROK_SIGROK_INTERNAL_H
+#include <stdarg.h>
+
/*--- Macros ----------------------------------------------------------------*/
#ifndef ARRAY_SIZE
#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);
+/*--- log.c -----------------------------------------------------------------*/
+
+int sr_log(int loglevel, const char *format, ...);
+int sr_dbg(const char *format, ...);
+int sr_info(const char *format, ...);
+int sr_warn(const char *format, ...);
+int sr_err(const char *format, ...);
+
/*--- hardware/common/serial.c ----------------------------------------------*/
GSList *list_serial_ports(void);