-
-struct sr_output_format output_text_hex = {
- "hex",
- "Hexadecimal (takes argument, default 192)",
- DF_LOGIC,
- init_hex,
- data_hex,
- event,
+SR_PRIV struct sr_output_format output_text_hex = {
+ .id = "hex",
+ .description = "Hexadecimal",
+ .df_type = SR_DF_LOGIC,
+ .init = init_hex,
+ .data = data_hex,
+ .event = event,
+ .cleanup = text_cleanup,