Commit a6afbd76 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

param: Streamline the bits parameters typedefs

parent a8449faf
......@@ -71,10 +71,12 @@ struct poolparam {
vtim_dur max_age;
};
#define PARAM_BITMAP(name, len) typedef uint8_t name[(len + 7)>>3]
typedef uint8_t vsl_mask_t[256>>3];
typedef uint8_t debug_t[(DBG_Reserved+7)>>3];
typedef uint8_t feature_t[(FEATURE_Reserved+7)>>3];
PARAM_BITMAP(vsl_mask_t, 256);
PARAM_BITMAP(debug_t, DBG_Reserved);
PARAM_BITMAP(feature_t, FEATURE_Reserved);
#undef PARAM_BITMAP
struct params {
......
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