Commit 8bd3b43f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Move shared stuff from common.h to heritage.h

parent bfbb26e2
......@@ -36,6 +36,7 @@
#include <stdlib.h>
#include "cache.h"
#include "common/heritage.h"
#include "vrt.h"
#include "vcl.h"
......
......@@ -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 *);
/*-
* 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);
......@@ -40,6 +40,7 @@
#include <sys/stat.h>
#include "mgt/mgt.h"
#include "common/heritage.h"
#include "storage/storage.h"
#include "libvcc.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment