Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent
Commits
ca8d0107
Commit
ca8d0107
authored
Apr 12, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const the tx pointer in the formatter interface
parent
1502b121
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
51 deletions
+66
-51
format.c
src/format.c
+65
-50
format.h
src/format.h
+1
-1
No files found.
src/format.c
View file @
ca8d0107
This diff is collapsed.
Click to expand it.
src/format.h
View file @
ca8d0107
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment