mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Unified attribute and filter types
This commit removes the EAF_TYPE_* namespace completely and also for route attributes, filter-based types T_* are used. This simplifies fetching and setting route attributes from filters. Also, there is now union bval which serves as an universal value holder instead of private unions held separately by eattr and filter code.
This commit is contained in:
@@ -77,6 +77,6 @@ struct custom_attribute {
|
||||
const char *name;
|
||||
};
|
||||
|
||||
struct custom_attribute *ca_lookup(pool *p, const char *name, int ea_type);
|
||||
struct custom_attribute *ca_lookup(pool *p, const char *name, btype type);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user