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
36bec2bb
Commit
36bec2bb
authored
Oct 21, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce scope of cache_filter.h
parent
ac1fe6e8
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
17 additions
and
5 deletions
+17
-5
cache.h
bin/varnishd/cache/cache.h
+0
-4
cache_deliver_proc.c
bin/varnishd/cache/cache_deliver_proc.c
+1
-1
cache_esi_deliver.c
bin/varnishd/cache/cache_esi_deliver.c
+1
-0
cache_esi_fetch.c
bin/varnishd/cache/cache_esi_fetch.c
+1
-0
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+1
-0
cache_fetch_proc.c
bin/varnishd/cache/cache_fetch_proc.c
+1
-0
cache_filter.h
bin/varnishd/cache/cache_filter.h
+7
-0
cache_gzip.c
bin/varnishd/cache/cache_gzip.c
+1
-0
cache_panic.c
bin/varnishd/cache/cache_panic.c
+1
-0
cache_req_body.c
bin/varnishd/cache/cache_req_body.c
+1
-0
cache_http1_deliver.c
bin/varnishd/http1/cache_http1_deliver.c
+1
-0
cache_http1_vfp.c
bin/varnishd/http1/cache_http1_vfp.c
+1
-0
No files found.
bin/varnishd/cache/cache.h
View file @
36bec2bb
...
...
@@ -36,7 +36,6 @@
#include "common/common.h"
#include "cache/cache_filter.h"
#include "vapi/vsl_int.h"
#include <sys/socket.h>
...
...
@@ -769,7 +768,6 @@ void VBF_Fetch(struct worker *wrk, struct req *req,
struct
objcore
*
oc
,
struct
objcore
*
oldoc
,
enum
vbf_fetch_mode_e
);
/* cache_fetch_proc.c */
enum
vfp_status
VFP_GetStorage
(
struct
vfp_ctx
*
,
ssize_t
*
sz
,
uint8_t
**
ptr
);
void
VFP_Init
(
void
);
/* cache_gzip.c */
...
...
@@ -794,7 +792,6 @@ enum vgzret_e VGZ_Gzip(struct vgz *, const void **, ssize_t *len,
enum
vgzret_e
VGZ_Gunzip
(
struct
vgz
*
,
const
void
**
,
ssize_t
*
len
);
enum
vgzret_e
VGZ_Destroy
(
struct
vgz
**
);
void
VGZ_UpdateObj
(
const
struct
vfp_ctx
*
,
const
struct
vgz
*
);
vdp_bytes
VDP_gunzip
;
int
VGZ_WrwInit
(
struct
vgz
*
vg
);
enum
vgzret_e
VGZ_WrwGunzip
(
struct
req
*
,
struct
vgz
*
,
const
void
*
ibuf
,
...
...
@@ -1060,7 +1057,6 @@ void VRTPRIV_dynamic_kill(struct sess *sp, uintptr_t id);
void
ESI_Deliver
(
struct
req
*
);
void
ESI_DeliverChild
(
struct
req
*
);
vdp_bytes
VED_pretend_gzip
;
/* cache_vrt_vmod.c */
void
VMOD_Init
(
void
);
...
...
bin/varnishd/cache/cache_deliver_proc.c
View file @
36bec2bb
...
...
@@ -30,7 +30,7 @@
#include "config.h"
#include "cache.h"
//
#include "cache_filter.h"
#include "cache_filter.h"
int
VDP_bytes
(
struct
req
*
req
,
enum
vdp_action
act
,
const
void
*
ptr
,
ssize_t
len
)
...
...
bin/varnishd/cache/cache_esi_deliver.c
View file @
36bec2bb
...
...
@@ -34,6 +34,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "vtim.h"
#include "cache_esi.h"
...
...
bin/varnishd/cache/cache_esi_fetch.c
View file @
36bec2bb
...
...
@@ -33,6 +33,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "cache_esi.h"
...
...
bin/varnishd/cache/cache_fetch.c
View file @
36bec2bb
...
...
@@ -36,6 +36,7 @@
#include "cache.h"
#include "cache_director.h"
#include "cache_filter.h"
#include "vend.h"
#include "hash/hash_slinger.h"
#include "vcl.h"
...
...
bin/varnishd/cache/cache_fetch_proc.c
View file @
36bec2bb
...
...
@@ -35,6 +35,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "hash/hash_slinger.h"
...
...
bin/varnishd/cache/cache_filter.h
View file @
36bec2bb
...
...
@@ -82,6 +82,9 @@ enum vfp_status VFP_Suck(struct vfp_ctx *, void *p, ssize_t *lp);
enum
vfp_status
VFP_Error
(
struct
vfp_ctx
*
,
const
char
*
fmt
,
...)
__printflike
(
2
,
3
);
/* cache_fetch_proc.c */
enum
vfp_status
VFP_GetStorage
(
struct
vfp_ctx
*
,
ssize_t
*
sz
,
uint8_t
**
ptr
);
/* Deliver processors ------------------------------------------------*/
enum
vdp_action
{
...
...
@@ -106,3 +109,7 @@ struct vdp_entry {
int
VDP_bytes
(
struct
req
*
,
enum
vdp_action
act
,
const
void
*
ptr
,
ssize_t
len
);
void
VDP_push
(
struct
req
*
,
vdp_bytes
*
func
,
void
*
priv
);
void
VDP_pop
(
struct
req
*
,
vdp_bytes
*
func
);
vdp_bytes
VDP_gunzip
;
vdp_bytes
VED_pretend_gzip
;
bin/varnishd/cache/cache_gzip.c
View file @
36bec2bb
...
...
@@ -42,6 +42,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "vend.h"
#include "vgz.h"
...
...
bin/varnishd/cache/cache_panic.c
View file @
36bec2bb
...
...
@@ -39,6 +39,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "vend.h"
#include "common/heritage.h"
...
...
bin/varnishd/cache/cache_req_body.c
View file @
36bec2bb
...
...
@@ -34,6 +34,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "vtim.h"
#include "storage/storage.h"
#include "hash/hash_slinger.h"
...
...
bin/varnishd/http1/cache_http1_deliver.c
View file @
36bec2bb
...
...
@@ -30,6 +30,7 @@
#include "config.h"
#include "cache/cache.h"
#include "cache/cache_filter.h"
#include "vct.h"
...
...
bin/varnishd/http1/cache_http1_vfp.c
View file @
36bec2bb
...
...
@@ -38,6 +38,7 @@
#include <inttypes.h>
#include "cache/cache.h"
#include "cache/cache_filter.h"
#include "vct.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