Commit fe780278 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Move everything related to the storage-expansion-API into a subdirectory

where it will be protected from VMODs.
parent ebd16016
......@@ -64,16 +64,16 @@ varnishd_SOURCES = \
mgt_shmem.c \
mgt_vcc.c \
rfc2616.c \
stevedore.c \
stevedore_utils.c \
storage_file.c \
storage_malloc.c \
storage_persistent.c \
storage_persistent_mgt.c \
storage_persistent_silo.c \
storage_persistent_subr.c \
storage_synth.c \
storage_umem.c \
storage/stevedore.c \
storage/stevedore_utils.c \
storage/storage_file.c \
storage/storage_malloc.c \
storage/storage_persistent.c \
storage/storage_persistent_mgt.c \
storage/storage_persistent_silo.c \
storage/storage_persistent_subr.c \
storage/storage_synth.c \
storage/storage_umem.c \
varnishd.c \
vsm.c
......@@ -88,8 +88,8 @@ noinst_HEADERS = \
heritage.h \
mgt.h \
mgt_cli.h \
storage.h \
storage_persistent.h \
storage/storage.h \
storage/storage_persistent.h \
vparam.h
varnishd_CFLAGS = \
......
......@@ -98,7 +98,6 @@ struct busyobj;
struct cli;
struct cli_proto;
struct director;
struct exp;
struct iovec;
struct objcore;
struct object;
......@@ -106,7 +105,6 @@ struct objhead;
struct pool;
struct sess;
struct sesspool;
struct storage;
struct vbc;
struct vef_priv;
struct vrt_backend;
......
......@@ -16,6 +16,7 @@ flexelint \
-I/usr/local/include \
-DVARNISH_STATE_DIR=\"foo\" \
*.c \
storage/*.c \
../../lib/libvarnish/*.c \
../../lib/libvarnishcompat/execinfo.c \
../../lib/libvcl/*.c \
......
......@@ -38,7 +38,7 @@
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
#include "vav.h"
#include "vcli_priv.h"
#include "vrt.h"
......
......@@ -51,7 +51,7 @@
#include "mgt.h"
#include "storage.h"
#include "storage/storage.h"
#include "vnum.h"
#ifndef O_LARGEFILE
......
......@@ -37,7 +37,7 @@
#include <stdlib.h>
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
#include "vnum.h"
......
......@@ -35,7 +35,7 @@
#include <stdlib.h>
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
#include "vnum.h"
......
......@@ -44,7 +44,7 @@
#include <string.h>
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
#include "hash_slinger.h"
#include "vcli.h"
......@@ -53,7 +53,7 @@
#include "vsha256.h"
#include "persistent.h"
#include "storage_persistent.h"
#include "storage/storage_persistent.h"
/*--------------------------------------------------------------------*/
......
......@@ -42,12 +42,12 @@
#include <stdlib.h>
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
#include "vsha256.h"
#include "persistent.h"
#include "storage_persistent.h"
#include "storage/storage_persistent.h"
#ifndef MAP_NOCORE
#define MAP_NOCORE 0 /* XXX Linux */
......
......@@ -38,14 +38,14 @@
#include <stdlib.h>
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
#include "hash_slinger.h"
#include "vsha256.h"
#include "vtim.h"
#include "persistent.h"
#include "storage_persistent.h"
#include "storage/storage_persistent.h"
/*--------------------------------------------------------------------
* Write the segmentlist back to the silo.
......
......@@ -42,12 +42,12 @@
#include <stdlib.h>
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
#include "vsha256.h"
#include "persistent.h"
#include "storage_persistent.h"
#include "storage/storage_persistent.h"
/*--------------------------------------------------------------------
* SIGNATURE functions
......
......@@ -33,7 +33,7 @@
#include <stdlib.h>
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
static struct lock sms_mtx;
......
......@@ -40,7 +40,7 @@
#include <umem.h>
#include "cache.h"
#include "storage.h"
#include "storage/storage.h"
static size_t smu_max = SIZE_MAX;
static MTX smu_mtx;
......
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