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
7b157820
Commit
7b157820
authored
Sep 25, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move more stuff out of $ABI VRT
parent
c197f402
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
17 deletions
+18
-17
cache_filter.h
bin/varnishd/cache/cache_filter.h
+0
-17
cache_priv.h
bin/varnishd/cache/cache_priv.h
+18
-0
No files found.
bin/varnishd/cache/cache_filter.h
View file @
7b157820
...
...
@@ -67,25 +67,10 @@ struct vfp_entry {
uint64_t
bytes_out
;
};
extern
const
struct
vfp
vfp_gunzip
;
extern
const
struct
vfp
vfp_gzip
;
extern
const
struct
vfp
vfp_testgunzip
;
extern
const
struct
vfp
vfp_esi
;
extern
const
struct
vfp
vfp_esi_gzip
;
struct
vfp_entry
*
VFP_Push
(
struct
vfp_ctx
*
,
const
struct
vfp
*
);
void
VFP_Setup
(
struct
vfp_ctx
*
vc
);
int
VFP_Open
(
struct
vfp_ctx
*
bo
);
void
VFP_Close
(
struct
vfp_ctx
*
bo
);
enum
vfp_status
VFP_Suck
(
struct
vfp_ctx
*
,
void
*
p
,
ssize_t
*
lp
);
enum
vfp_status
VFP_Error
(
struct
vfp_ctx
*
,
const
char
*
fmt
,
...)
__v_printflike
(
2
,
3
);
/* cache_fetch_proc.c */
enum
vfp_status
VFP_GetStorage
(
struct
vfp_ctx
*
,
ssize_t
*
sz
,
uint8_t
**
ptr
);
void
VFP_Extend
(
const
struct
vfp_ctx
*
,
ssize_t
sz
);
/* Deliver processors ------------------------------------------------*/
enum
vdp_action
{
...
...
@@ -110,8 +95,6 @@ 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
,
int
bottom
,
const
char
*
id
);
void
VDP_close
(
struct
req
*
req
);
int
VDP_DeliverObj
(
struct
req
*
req
);
vdp_bytes
VDP_gunzip
;
vdp_bytes
VDP_ESI
;
bin/varnishd/cache/cache_priv.h
View file @
7b157820
...
...
@@ -31,6 +31,8 @@
#include "VSC_main.h"
struct
vfp
;
/* Prototypes etc ----------------------------------------------------*/
/* cache_acceptor.c */
...
...
@@ -72,11 +74,27 @@ void CLI_Init(void);
void
CLI_Run
(
void
);
void
CLI_AddFuncs
(
struct
cli_proto
*
p
);
/* cache_deliver_proc.c */
void
VDP_close
(
struct
req
*
req
);
int
VDP_DeliverObj
(
struct
req
*
req
);
/* cache_expire.c */
void
EXP_Init
(
void
);
/* cache_fetch_proc.c */
void
VFP_Init
(
void
);
enum
vfp_status
VFP_GetStorage
(
struct
vfp_ctx
*
,
ssize_t
*
sz
,
uint8_t
**
ptr
);
void
VFP_Extend
(
const
struct
vfp_ctx
*
,
ssize_t
sz
);
struct
vfp_entry
*
VFP_Push
(
struct
vfp_ctx
*
,
const
struct
vfp
*
);
void
VFP_Setup
(
struct
vfp_ctx
*
vc
);
int
VFP_Open
(
struct
vfp_ctx
*
bo
);
void
VFP_Close
(
struct
vfp_ctx
*
bo
);
extern
const
struct
vfp
vfp_gunzip
;
extern
const
struct
vfp
vfp_gzip
;
extern
const
struct
vfp
vfp_testgunzip
;
extern
const
struct
vfp
vfp_esi
;
extern
const
struct
vfp
vfp_esi_gzip
;
/* cache_http.c */
void
HTTP_Init
(
void
);
...
...
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