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
12915335
Commit
12915335
authored
Oct 02, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move more of the sharp knives away from $ABI VRT
parent
908de358
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
27 deletions
+26
-27
cache.h
bin/varnishd/cache/cache.h
+0
-27
cache_varnishd.h
bin/varnishd/cache/cache_varnishd.h
+26
-0
No files found.
bin/varnishd/cache/cache.h
View file @
12915335
...
...
@@ -44,14 +44,6 @@
/*--------------------------------------------------------------------*/
enum
req_fsm_nxt
{
REQ_FSM_MORE
,
REQ_FSM_DONE
,
REQ_FSM_DISEMBARK
,
};
/*--------------------------------------------------------------------*/
enum
body_status
{
#define BODYSTATUS(U,l) BS_##U,
#include "tbl/body_status.h"
...
...
@@ -877,26 +869,7 @@ ssize_t VRB_Cache(struct req *, ssize_t maxsize);
ssize_t
VRB_Iterate
(
struct
req
*
,
objiterate_f
*
func
,
void
*
priv
);
void
VRB_Free
(
struct
req
*
);
/* cache_req_fsm.c [CNT] */
enum
req_fsm_nxt
CNT_Request
(
struct
worker
*
,
struct
req
*
);
/* cache_session.c [SES] */
void
SES_Wait
(
struct
sess
*
,
const
struct
transport
*
);
void
SES_Ref
(
struct
sess
*
sp
);
void
SES_Rel
(
struct
sess
*
sp
);
int
SES_Reschedule_Req
(
struct
req
*
);
enum
htc_status_e
{
HTC_S_JUNK
=
-
5
,
HTC_S_CLOSE
=
-
4
,
HTC_S_TIMEOUT
=
-
3
,
HTC_S_OVERFLOW
=
-
2
,
HTC_S_EOF
=
-
1
,
HTC_S_EMPTY
=
0
,
HTC_S_MORE
=
1
,
HTC_S_COMPLETE
=
2
,
HTC_S_IDLE
=
3
,
};
void
HTC_RxInit
(
struct
http_conn
*
htc
,
struct
ws
*
ws
);
void
HTC_RxPipeline
(
struct
http_conn
*
htc
,
void
*
);
...
...
bin/varnishd/cache/cache_varnishd.h
View file @
12915335
...
...
@@ -156,9 +156,35 @@ int Pool_Task_Any(struct pool_task *task, enum task_prio prio);
/* cache_range.c [VRG] */
void
VRG_dorange
(
struct
req
*
req
,
const
char
*
r
);
/* cache_req_fsm.c [CNT] */
enum
req_fsm_nxt
{
REQ_FSM_MORE
,
REQ_FSM_DONE
,
REQ_FSM_DISEMBARK
,
};
enum
req_fsm_nxt
CNT_Request
(
struct
worker
*
,
struct
req
*
);
/* cache_session.c */
void
SES_NewPool
(
struct
pool
*
,
unsigned
pool_no
);
void
SES_DestroyPool
(
struct
pool
*
);
void
SES_Wait
(
struct
sess
*
,
const
struct
transport
*
);
void
SES_Ref
(
struct
sess
*
sp
);
void
SES_Rel
(
struct
sess
*
sp
);
int
SES_Reschedule_Req
(
struct
req
*
);
enum
htc_status_e
{
HTC_S_JUNK
=
-
5
,
HTC_S_CLOSE
=
-
4
,
HTC_S_TIMEOUT
=
-
3
,
HTC_S_OVERFLOW
=
-
2
,
HTC_S_EOF
=
-
1
,
HTC_S_EMPTY
=
0
,
HTC_S_MORE
=
1
,
HTC_S_COMPLETE
=
2
,
HTC_S_IDLE
=
3
,
};
/* cache_shmlog.c */
extern
struct
VSC_main
*
VSC_C_main
;
...
...
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