static int event(struct sr_output *o, int event_type, char **data_out,
uint64_t *length_out)
{
- struct context *ctx;
-
if (!o) {
sr_err("gnuplot out: %s: o was NULL", __func__);
return SR_ERR_ARG;
return SR_ERR_ARG;
}
- ctx = o->internal;
-
switch (event_type) {
case SR_DF_TRIGGER:
/* TODO: Can a trigger mark be in a gnuplot data file? */