Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
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
varnish-cache
Commits
2bba45f3
Commit
2bba45f3
authored
Jan 07, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Prefix all VMOD sources with vmod_<name>
parent
50cd391e
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
27 additions
and
27 deletions
+27
-27
Makefile.am
vmod/Makefile.am
+16
-16
flint.lnt
vmod/flint.lnt
+1
-1
vmod_blob.c
vmod/vmod_blob.c
+2
-2
vmod_blob.h
vmod/vmod_blob.h
+2
-2
vmod_blob_base64.c
vmod/vmod_blob_base64.c
+0
-0
vmod_blob_hex.c
vmod/vmod_blob_hex.c
+0
-0
vmod_blob_id.c
vmod/vmod_blob_id.c
+0
-0
vmod_blob_tbl_case.h
vmod/vmod_blob_tbl_case.h
+0
-0
vmod_blob_tbl_encodings.h
vmod/vmod_blob_tbl_encodings.h
+0
-0
vmod_blob_url.c
vmod/vmod_blob_url.c
+0
-0
vmod_directors_fall_back.c
vmod/vmod_directors_fall_back.c
+0
-0
vmod_directors_hash.c
vmod/vmod_directors_hash.c
+0
-0
vmod_directors_random.c
vmod/vmod_directors_random.c
+0
-0
vmod_directors_round_robin.c
vmod/vmod_directors_round_robin.c
+0
-0
vmod_directors_shard.c
vmod/vmod_directors_shard.c
+2
-2
vmod_directors_shard_cfg.c
vmod/vmod_directors_shard_cfg.c
+2
-2
vmod_directors_shard_cfg.h
vmod/vmod_directors_shard_cfg.h
+0
-0
vmod_directors_shard_dir.c
vmod/vmod_directors_shard_dir.c
+1
-1
vmod_directors_shard_dir.h
vmod/vmod_directors_shard_dir.h
+0
-0
vmod_unix.c
vmod/vmod_unix.c
+1
-1
vmod_unix_cred_compat.h
vmod/vmod_unix_cred_compat.h
+0
-0
No files found.
vmod/Makefile.am
View file @
2bba45f3
...
...
@@ -20,12 +20,12 @@ AM_CPPFLAGS = \
libvmod_blob_la_SOURCES
=
\
vmod_blob.c
\
vmod_blob.h
\
id.c
\
base64.c
\
hex.c
\
url.c
\
tbl_encodings.h
\
tbl_case.h
vmod_blob_
id.c
\
vmod_blob_
base64.c
\
vmod_blob_
hex.c
\
vmod_blob_
url.c
\
vmod_blob_
tbl_encodings.h
\
vmod_blob_
tbl_case.h
libvmod_cookie_la_SOURCES
=
\
vmod_cookie.c
...
...
@@ -38,15 +38,15 @@ libvmod_debug_la_SOURCES = \
libvmod_directors_la_SOURCES
=
\
vmod_directors.c
\
vmod_directors.h
\
fall_back.c
\
hash.c
\
random.c
\
round_robin.c
\
vmod_shard.c
\
shard_cfg.c
\
shard_cfg.h
\
shard_dir.c
\
shard_dir.h
vmod_directors_
fall_back.c
\
vmod_directors_
hash.c
\
vmod_directors_
random.c
\
vmod_directors_
round_robin.c
\
vmod_
directors_
shard.c
\
vmod_directors_
shard_cfg.c
\
vmod_directors_vmod_directors_
shard_cfg.h
\
vmod_directors_
shard_dir.c
\
vmod_directors_
shard_dir.h
libvmod_proxy_la_SOURCES
=
\
vmod_proxy.c
...
...
@@ -62,7 +62,7 @@ libvmod_std_la_SOURCES = \
libvmod_unix_la_SOURCES
=
\
vmod_unix.c
\
cred_compat.h
vmod_unix_
cred_compat.h
libvmod_vtc_la_SOURCES
=
\
vmod_vtc.c
...
...
vmod/flint.lnt
View file @
2bba45f3
...
...
@@ -2,7 +2,7 @@
* vmod_{blob,directors}
*/
-efile(451, "
tbl_*.h")
// No include guard
-efile(451, "
vmod_*_tbl_*.h")
// No include guard
/*
* vmod_blob
...
...
vmod/vmod_blob.c
View file @
2bba45f3
...
...
@@ -121,7 +121,7 @@ static enum encoding
parse_encoding
(
VCL_ENUM
e
)
{
#define VMODENUM(n) if (e == VENUM(n)) return (n);
#include "tbl_encodings.h"
#include "
vmod_blob_
tbl_encodings.h"
WRONG
(
"illegal encoding enum"
);
}
...
...
@@ -129,7 +129,7 @@ static enum case_e
parse_case
(
VCL_ENUM
e
)
{
#define VMODENUM(n) if (e == VENUM(n)) return (n);
#include "tbl_case.h"
#include "
vmod_blob_
tbl_case.h"
WRONG
(
"illegal case enum"
);
}
...
...
vmod/vmod_blob.h
View file @
2bba45f3
...
...
@@ -36,7 +36,7 @@
enum
encoding
{
__INVALID_ENCODING
=
0
,
#define VMODENUM(x) x,
#include "tbl_encodings.h"
#include "
vmod_blob_
tbl_encodings.h"
__MAX_ENCODING
};
...
...
@@ -48,7 +48,7 @@ enum encoding {
*/
enum
case_e
{
#define VMODENUM(x) x,
#include "tbl_case.h"
#include "
vmod_blob_
tbl_case.h"
};
typedef
const
size_t
blob_len_t
;
...
...
vmod/base64.c
→
vmod/
vmod_blob_
base64.c
View file @
2bba45f3
File moved
vmod/hex.c
→
vmod/
vmod_blob_
hex.c
View file @
2bba45f3
File moved
vmod/id.c
→
vmod/
vmod_blob_
id.c
View file @
2bba45f3
File moved
vmod/tbl_case.h
→
vmod/
vmod_blob_
tbl_case.h
View file @
2bba45f3
File moved
vmod/tbl_encodings.h
→
vmod/
vmod_blob_
tbl_encodings.h
View file @
2bba45f3
File moved
vmod/url.c
→
vmod/
vmod_blob_
url.c
View file @
2bba45f3
File moved
vmod/fall_back.c
→
vmod/
vmod_directors_
fall_back.c
View file @
2bba45f3
File moved
vmod/hash.c
→
vmod/
vmod_directors_
hash.c
View file @
2bba45f3
File moved
vmod/random.c
→
vmod/
vmod_directors_
random.c
View file @
2bba45f3
File moved
vmod/round_robin.c
→
vmod/
vmod_directors_
round_robin.c
View file @
2bba45f3
File moved
vmod/vmod_shard.c
→
vmod/vmod_
directors_
shard.c
View file @
2bba45f3
...
...
@@ -40,8 +40,8 @@
#include "vend.h"
#include "vcc_directors_if.h"
#include "shard_dir.h"
#include "shard_cfg.h"
#include "
vmod_directors_
shard_dir.h"
#include "
vmod_directors_
shard_cfg.h"
#include "vsb.h"
/* -------------------------------------------------------------------------
...
...
vmod/shard_cfg.c
→
vmod/
vmod_directors_
shard_cfg.c
View file @
2bba45f3
...
...
@@ -38,8 +38,8 @@
#include "cache/cache.h"
#include "shard_dir.h"
#include "shard_cfg.h"
#include "
vmod_directors_
shard_dir.h"
#include "
vmod_directors_
shard_cfg.h"
/*lint -esym(749, shard_change_task_e::*) */
enum
shard_change_task_e
{
...
...
vmod/shard_cfg.h
→
vmod/
vmod_directors_
shard_cfg.h
View file @
2bba45f3
File moved
vmod/shard_dir.c
→
vmod/
vmod_directors_
shard_dir.c
View file @
2bba45f3
...
...
@@ -45,7 +45,7 @@
#include "vrnd.h"
#include "vcc_directors_if.h"
#include "shard_dir.h"
#include "
vmod_directors_
shard_dir.h"
struct
shard_be_info
{
unsigned
hostid
;
...
...
vmod/shard_dir.h
→
vmod/
vmod_directors_
shard_dir.h
View file @
2bba45f3
File moved
vmod/vmod_unix.c
View file @
2bba45f3
...
...
@@ -37,7 +37,7 @@
#include "vcl.h"
#include "common/heritage.h"
#include "cred_compat.h"
#include "
vmod_unix_
cred_compat.h"
#include "vcc_unix_if.h"
#define FAIL(ctx, msg) \
...
...
vmod/cred_compat.h
→
vmod/
vmod_unix_
cred_compat.h
View file @
2bba45f3
File moved
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