return 0;
}
-static int data(struct sr_output *o, char *data_in, uint64_t length_in,
+static int data(struct sr_output *o, const char *data_in, uint64_t length_in,
char **data_out, uint64_t *length_out)
{
return SR_OK;
struct sr_output_format output_foo = {
"foo",
"The foo format",
- DF_LOGIC,
+ SR_DF_LOGIC,
init,
data,
event,