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
9be13007
Commit
9be13007
authored
Jan 03, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move vsmw from libvarnish to varnishd/common
parent
1001cd10
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
13 deletions
+16
-13
Makefile.am
bin/varnishd/Makefile.am
+2
-0
cache_shmlog.c
bin/varnishd/cache/cache_shmlog.c
+3
-3
common_vsc.c
bin/varnishd/common/common_vsc.c
+2
-2
common_vsmw.c
bin/varnishd/common/common_vsmw.c
+2
-1
vsmw.h
bin/varnishd/common/vsmw.h
+0
-0
mgt_child.c
bin/varnishd/mgt/mgt_child.c
+4
-3
mgt_shmem.c
bin/varnishd/mgt/mgt_shmem.c
+3
-2
Makefile.am
include/Makefile.am
+0
-1
Makefile.am
lib/libvarnish/Makefile.am
+0
-1
No files found.
bin/varnishd/Makefile.am
View file @
9be13007
...
...
@@ -52,6 +52,7 @@ varnishd_SOURCES = \
cache/cache_wrk.c
\
cache/cache_ws.c
\
common/common_vsc.c
\
common/common_vsmw.c
\
hash
/hash_classic.c
\
hash
/hash_critbit.c
\
hash
/hash_simple_list.c
\
...
...
@@ -123,6 +124,7 @@ noinst_HEADERS = \
cache/cache_vgz.h
\
common/common_param.h
\
common/heritage.h
\
common/vsmw.h
\
hash
/hash_slinger.h
\
hpack/vhp.h
\
http1/cache_http1.h
\
...
...
bin/varnishd/cache/cache_shmlog.c
View file @
9be13007
...
...
@@ -35,13 +35,13 @@
#include <stdio.h>
#include <stdlib.h>
#include "common/heritage.h"
#include "vend.h"
#include "vgz.h"
#include "vsl_priv.h"
#include "vmb.h"
#include "vsmw.h"
#include "common/heritage.h"
#include "common/vsmw.h"
/* These cannot be struct lock, which depends on vsm/vsl working */
static
pthread_mutex_t
vsl_mtx
;
...
...
bin/varnishd/common/common_vsc.c
View file @
9be13007
...
...
@@ -42,10 +42,10 @@
#include "vas.h"
#include "vmb.h"
#include "vsc_priv.h"
#include "vsmw.h"
#include "vqueue.h"
#include "common/heritage.h"
#include "heritage.h"
#include "vsmw.h"
/*--------------------------------------------------------------------*/
...
...
lib/libvarnish/
vsmw.c
→
bin/varnishd/common/common_
vsmw.c
View file @
9be13007
...
...
@@ -50,12 +50,13 @@
#include "vas.h"
#include "vsb.h"
#include "miniobj.h"
#include "vsmw.h"
#include "vqueue.h"
#include "vfil.h"
#include "vrnd.h"
#include "vsmw.h"
#ifndef MAP_HASSEMAPHORE
# define MAP_HASSEMAPHORE 0
/* XXX Linux */
#endif
...
...
include
/vsmw.h
→
bin/varnishd/common
/vsmw.h
View file @
9be13007
File moved
bin/varnishd/mgt/mgt_child.c
View file @
9be13007
...
...
@@ -44,8 +44,7 @@
#include <syslog.h>
#include <unistd.h>
#include "mgt/mgt.h"
#include "common/heritage.h"
#include "mgt.h"
#include "vbm.h"
#include "vcli_serve.h"
...
...
@@ -53,7 +52,9 @@
#include "vfil.h"
#include "vlu.h"
#include "vtim.h"
#include "vsmw.h"
#include "common/heritage.h"
#include "common/vsmw.h"
static
pid_t
child_pid
=
-
1
;
...
...
bin/varnishd/mgt/mgt_shmem.c
View file @
9be13007
...
...
@@ -41,10 +41,11 @@
#include <unistd.h>
#include "mgt/mgt.h"
#include "common/heritage.h"
#include "vsm_priv.h"
#include "vsmw.h"
#include "common/heritage.h"
#include "common/vsmw.h"
static
struct
vsmw
*
mgt_vsmw
;
...
...
include/Makefile.am
View file @
9be13007
...
...
@@ -92,7 +92,6 @@ nobase_noinst_HEADERS = \
vpf.h
\
vsc_priv.h
\
vsl_priv.h
\
vsmw.h
\
vsm_priv.h
\
vsub.h
\
vss.h
\
...
...
lib/libvarnish/Makefile.am
View file @
9be13007
...
...
@@ -34,7 +34,6 @@ libvarnish_a_SOURCES = \
vsa.c
\
vsb.c
\
vsha256.c
\
vsmw.c
\
vss.c
\
vsub.c
\
vtcp.c
\
...
...
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