Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
17937b29
Commit
17937b29
authored
Oct 08, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the varnishd table building #includes under tbl/ as well.
parent
8b98c9ed
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
20 additions
and
20 deletions
+20
-20
Makefile.am
bin/varnishd/Makefile.am
+0
-5
cache.h
bin/varnishd/cache.h
+5
-5
cache_backend_poll.c
bin/varnishd/cache_backend_poll.c
+4
-4
cache_center.c
bin/varnishd/cache_center.c
+2
-2
cache_lck.c
bin/varnishd/cache_lck.c
+2
-2
cache_panic.c
bin/varnishd/cache_panic.c
+1
-1
cache_session.c
bin/varnishd/cache_session.c
+1
-1
Makefile.am
include/Makefile.am
+5
-0
acct_fields.h
include/tbl/acct_fields.h
+0
-0
backend_poll.h
include/tbl/backend_poll.h
+0
-0
body_status.h
include/tbl/body_status.h
+0
-0
locks.h
include/tbl/locks.h
+0
-0
steps.h
include/tbl/steps.h
+0
-0
No files found.
bin/varnishd/Makefile.am
View file @
17937b29
...
...
@@ -78,21 +78,16 @@ varnishd_SOURCES = \
vsm.c
noinst_HEADERS
=
\
acct_fields.h
\
body_status.h
\
cache.h
\
cache_backend.h
\
cache_backend_poll.h
\
cache_esi.h
\
cache_waiter.h
\
common.h
\
default_vcl.h
\
hash_slinger.h
\
heritage.h
\
locks.h
\
mgt.h
\
mgt_cli.h
\
steps.h
\
stevedore.h
\
storage_persistent.h
\
vparam.h
...
...
bin/varnishd/cache.h
View file @
17937b29
...
...
@@ -67,7 +67,7 @@
enum
body_status
{
#define BODYSTATUS(U,l) BS_##U,
#include "body_status.h"
#include "
tbl/
body_status.h"
#undef BODYSTATUS
};
...
...
@@ -76,7 +76,7 @@ body_status(enum body_status e)
{
switch
(
e
)
{
#define BODYSTATUS(U,l) case BS_##U: return (#l);
#include "body_status.h"
#include "
tbl/
body_status.h"
#undef BODYSTATUS
default:
return
(
"?"
);
...
...
@@ -143,7 +143,7 @@ typedef struct {
enum
step
{
#define STEP(l, u) STP_##u,
#include "steps.h"
#include "
tbl/
steps.h"
#undef STEP
};
...
...
@@ -213,7 +213,7 @@ struct http_conn {
struct
acct
{
double
first
;
#define ACCT(foo) uint64_t foo;
#include "acct_fields.h"
#include "
tbl/
acct_fields.h"
#undef ACCT
};
...
...
@@ -834,7 +834,7 @@ int Lck_CondWait(pthread_cond_t *cond, struct lock *lck, struct timespec *ts);
#define Lck_AssertHeld(a) Lck__Assert(a, 1)
#define LOCK(nam) extern struct VSC_C_lck *lck_##nam;
#include "locks.h"
#include "
tbl/
locks.h"
#undef LOCK
/* cache_panic.c */
...
...
bin/varnishd/cache_backend_poll.c
View file @
17937b29
...
...
@@ -78,7 +78,7 @@ struct vbp_target {
/* Collected statistics */
#define BITMAP(n, c, t, b) uint64_t n;
#include "
cache_
backend_poll.h"
#include "
tbl/
backend_poll.h"
#undef BITMAP
double
last
;
...
...
@@ -236,7 +236,7 @@ vbp_start_poke(struct vbp_target *vt)
CHECK_OBJ_NOTNULL
(
vt
,
VBP_TARGET_MAGIC
);
#define BITMAP(n, c, t, b) vt->n <<= 1;
#include "
cache_
backend_poll.h"
#include "
tbl/
backend_poll.h"
#undef BITMAP
vt
->
last
=
0
;
...
...
@@ -262,7 +262,7 @@ vbp_has_poked(struct vbp_target *vt)
i
=
0
;
#define BITMAP(n, c, t, b) bits[i++] = (vt->n & 1) ? c : '-';
#include "
cache_
backend_poll.h"
#include "
tbl/
backend_poll.h"
#undef BITMAP
bits
[
i
]
=
'\0'
;
...
...
@@ -396,7 +396,7 @@ vbp_health_one(struct cli *cli, const struct vbp_target *vt)
#define BITMAP(n, c, t, b) \
if ((vt->n != 0) || (b)) \
vbp_bitmap(cli, (c), vt->n, (t));
#include "
cache_
backend_poll.h"
#include "
tbl/
backend_poll.h"
#undef BITMAP
}
...
...
bin/varnishd/cache_center.c
View file @
17937b29
...
...
@@ -1605,7 +1605,7 @@ CNT_Session(struct sess *sp)
cnt_diag(sp, #u); \
done = cnt_##l(sp); \
break;
#include "steps.h"
#include "
tbl/
steps.h"
#undef STEP
default:
WRONG
(
"State engine misfire"
);
...
...
@@ -1621,7 +1621,7 @@ CNT_Session(struct sess *sp)
AZ
(
w
->
do_gunzip
);
AZ
(
w
->
do_esi
);
#define ACCT(foo) AZ(w->acct_tmp.foo);
#include "acct_fields.h"
#include "
tbl/
acct_fields.h"
#undef ACCT
assert
(
WRW_IsReleased
(
w
));
}
...
...
bin/varnishd/cache_lck.c
View file @
17937b29
...
...
@@ -196,7 +196,7 @@ Lck_Delete(struct lock *lck)
}
#define LOCK(nam) struct VSC_C_lck *lck_##nam;
#include "locks.h"
#include "
tbl/
locks.h"
#undef LOCK
void
...
...
@@ -207,6 +207,6 @@ LCK_Init(void)
#define LOCK(nam) \
lck_##nam = VSM_Alloc(sizeof(struct VSC_C_lck), \
VSC_CLASS, VSC_TYPE_LCK, #nam);
#include "locks.h"
#include "
tbl/
locks.h"
#undef LOCK
}
bin/varnishd/cache_panic.c
View file @
17937b29
...
...
@@ -223,7 +223,7 @@ pan_sess(const struct sess *sp)
sp
->
port
?
sp
->
port
:
"?"
);
switch
(
sp
->
step
)
{
#define STEP(l, u) case STP_##u: stp = "STP_" #u; break;
#include "steps.h"
#include "
tbl/
steps.h"
#undef STEP
default:
stp
=
NULL
;
}
...
...
bin/varnishd/cache_session.c
View file @
17937b29
...
...
@@ -83,7 +83,7 @@ SES_Charge(struct sess *sp)
sp->wrk->stats.s_##foo += a->foo; \
sp->acct_ses.foo += a->foo; \
a->foo = 0;
#include "acct_fields.h"
#include "
tbl/
acct_fields.h"
#undef ACCT
}
...
...
include/Makefile.am
View file @
17937b29
#
pkginclude_HEADERS
=
\
tbl/acct_fields.h
\
tbl/backend_poll.h
\
tbl/body_status.h
\
tbl/locks.h
\
tbl/steps.h
\
tbl/vsc_all.h
\
tbl/vsc_fields.h
\
tbl/vsl_tags.h
\
...
...
bin/varnishd
/acct_fields.h
→
include/tbl
/acct_fields.h
View file @
17937b29
File moved
bin/varnishd/cache_
backend_poll.h
→
include/tbl/
backend_poll.h
View file @
17937b29
File moved
bin/varnishd
/body_status.h
→
include/tbl
/body_status.h
View file @
17937b29
File moved
bin/varnishd
/locks.h
→
include/tbl
/locks.h
View file @
17937b29
File moved
bin/varnishd
/steps.h
→
include/tbl
/steps.h
View file @
17937b29
File moved
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