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
8bd3b43f
Commit
8bd3b43f
authored
Sep 27, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move shared stuff from common.h to heritage.h
parent
bfbb26e2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
cache_vcl.c
bin/varnishd/cache/cache_vcl.c
+1
-0
common.h
bin/varnishd/common/common.h
+0
-8
heritage.h
bin/varnishd/common/heritage.h
+10
-0
mgt_vcc.c
bin/varnishd/mgt/mgt_vcc.c
+1
-0
No files found.
bin/varnishd/cache/cache_vcl.c
View file @
8bd3b43f
...
...
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include "cache.h"
#include "common/heritage.h"
#include "vrt.h"
#include "vcl.h"
...
...
bin/varnishd/common/common.h
View file @
8bd3b43f
...
...
@@ -58,11 +58,3 @@ void MCH_Fd_Inherit(int fd, const char *what);
fprintf(stderr, "(-? gives usage)\n"); \
exit(2); \
} while (0)
/* cache/cache_acceptor.c */
struct
transport
;
void
XPORT_Init
(
void
);
const
struct
transport
*
XPORT_Find
(
const
char
*
name
);
/* cache/cache_vcl.c */
int
VCL_TestLoad
(
const
char
*
);
bin/varnishd/common/heritage.h
View file @
8bd3b43f
/*-
* Copyright (c) 2006 Verdens Gang AS
* Copyright (c) 2006-2011 Varnish Software AS
...
...
@@ -90,4 +91,13 @@ struct heritage {
extern
struct
heritage
heritage
;
/* cache/cache_main.c */
void
child_main
(
void
);
/* cache/cache_vcl.c */
int
VCL_TestLoad
(
const
char
*
);
/* cache/cache_acceptor.c */
struct
transport
;
void
XPORT_Init
(
void
);
const
struct
transport
*
XPORT_Find
(
const
char
*
name
);
bin/varnishd/mgt/mgt_vcc.c
View file @
8bd3b43f
...
...
@@ -40,6 +40,7 @@
#include <sys/stat.h>
#include "mgt/mgt.h"
#include "common/heritage.h"
#include "storage/storage.h"
#include "libvcc.h"
...
...
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