return ret;
}
+static int reset(struct sr_input *in)
+{
+ struct context *inc = in->priv;
+
+ inc->meta_sent = FALSE;
+ inc->header_read = FALSE;
+ inc->records_read = FALSE;
+ inc->trigger_sent = FALSE;
+ inc->cur_record = 0;
+
+ g_string_truncate(in->buf, 0);
+
+ return SR_OK;
+}
+
static struct sr_option options[] = {
{ "podA", "Import pod A / iprobe",
"Create channels and data for pod A / iprobe", NULL, NULL },
.init = init,
.receive = receive,
.end = end,
+ .reset = reset,
};