Commit ca8d0107 authored by Geoff Simmons's avatar Geoff Simmons

const the tx pointer in the formatter interface

parent 1502b121
This diff is collapsed.
......@@ -34,7 +34,7 @@
/* XXX: should be static, init as fixed size with length max_reclen + 1 */
struct vsb *payload;
typedef void formatter_f(tx_t *tx, char *name, enum VSL_tag_e tag,
typedef void formatter_f(const tx_t *tx, char *name, enum VSL_tag_e tag,
char **s, size_t *len);
char *get_payload(const logline_t *rec);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment