Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
b2bcc2c3
Commit
b2bcc2c3
authored
Aug 03, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pack our enums, they are private to our code
parent
386f0b88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
node.h
src/node.h
+5
-5
No files found.
src/node.h
View file @
b2bcc2c3
...
...
@@ -52,7 +52,7 @@ enum n_type {
T_CRC
,
T_SUBREQ
,
T_FINAL
// non-ESI pass / hfm / hfp
};
}
__attribute__
((
__packed__
))
;
/*
* see state.dot:
...
...
@@ -97,8 +97,8 @@ enum n_state {
ST_OPEN
,
ST_CLOSED
,
ST_UNPENDING
,
ST_DELIVERED
,
};
ST_DELIVERED
}
__attribute__
((
__packed__
))
;
VSTAILQ_HEAD
(
node_head
,
node
);
...
...
@@ -122,7 +122,7 @@ enum t_crc {
GZIP_HDR
,
UPDATE
,
FINAL
// combine with parent or gen tail
};
}
__attribute__
((
__packed__
))
;
struct
node_crc
{
enum
t_crc
ctype
;
...
...
@@ -157,7 +157,7 @@ enum fi_state {
FI_GO
,
// topreq signalling req to deliver
FI_DONE
,
// req signalling topreq it is done
FI_DESTROYED
// cond/mtx destroyed (fini_final())
};
}
__attribute__
((
__packed__
))
;
/* we block the sub-thread when it's ready for delivery and continue when the
* topreqp tells it to */
...
...
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