Commit b2bcc2c3 authored by Nils Goroll's avatar Nils Goroll

pack our enums, they are private to our code

parent 386f0b88
...@@ -52,7 +52,7 @@ enum n_type { ...@@ -52,7 +52,7 @@ enum n_type {
T_CRC, T_CRC,
T_SUBREQ, T_SUBREQ,
T_FINAL // non-ESI pass / hfm / hfp T_FINAL // non-ESI pass / hfm / hfp
}; } __attribute__ ((__packed__));
/* /*
* see state.dot: * see state.dot:
...@@ -97,8 +97,8 @@ enum n_state { ...@@ -97,8 +97,8 @@ enum n_state {
ST_OPEN, ST_OPEN,
ST_CLOSED, ST_CLOSED,
ST_UNPENDING, ST_UNPENDING,
ST_DELIVERED, ST_DELIVERED
}; } __attribute__ ((__packed__));
VSTAILQ_HEAD(node_head, node); VSTAILQ_HEAD(node_head, node);
...@@ -122,7 +122,7 @@ enum t_crc { ...@@ -122,7 +122,7 @@ enum t_crc {
GZIP_HDR, GZIP_HDR,
UPDATE, UPDATE,
FINAL // combine with parent or gen tail FINAL // combine with parent or gen tail
}; } __attribute__ ((__packed__));
struct node_crc { struct node_crc {
enum t_crc ctype; enum t_crc ctype;
...@@ -157,7 +157,7 @@ enum fi_state { ...@@ -157,7 +157,7 @@ enum fi_state {
FI_GO, // topreq signalling req to deliver FI_GO, // topreq signalling req to deliver
FI_DONE, // req signalling topreq it is done FI_DONE, // req signalling topreq it is done
FI_DESTROYED // cond/mtx destroyed (fini_final()) FI_DESTROYED // cond/mtx destroyed (fini_final())
}; } __attribute__ ((__packed__));
/* we block the sub-thread when it's ready for delivery and continue when the /* we block the sub-thread when it's ready for delivery and continue when the
* topreqp tells it to */ * topreqp tells it to */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment