Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-example
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
libvmod-example
Commits
feee2ead
Commit
feee2ead
authored
Feb 27, 2018
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync with Varnish trunk
parent
a17fb592
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
vmod_example.c
src/vmod_example.c
+1
-3
No files found.
src/vmod_example.c
View file @
feee2ead
...
@@ -4,8 +4,6 @@
...
@@ -4,8 +4,6 @@
#include <stdlib.h>
#include <stdlib.h>
#include "cache/cache.h"
#include "cache/cache.h"
#include "vrt.h"
#include "vcl.h"
#include "vtim.h"
#include "vtim.h"
#include "vcc_example_if.h"
#include "vcc_example_if.h"
...
@@ -21,7 +19,7 @@ char *info;
...
@@ -21,7 +19,7 @@ char *info;
* real-world vmod, a fixed-sized buffer should be a global variable
* real-world vmod, a fixed-sized buffer should be a global variable
*/
*/
int
__match_proto_
_
(
vmod_event_f
)
int
v_matchproto
_
(
vmod_event_f
)
event_function
(
VRT_CTX
,
struct
vmod_priv
*
priv
,
enum
vcl_event_e
e
)
event_function
(
VRT_CTX
,
struct
vmod_priv
*
priv
,
enum
vcl_event_e
e
)
{
{
char
ts
[
VTIM_FORMAT_SIZE
];
char
ts
[
VTIM_FORMAT_SIZE
];
...
...
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