diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-26 19:25:01 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-28 19:11:59 +0100 |
commit | d8e538ecd9e62f841242f07e3df5c835c1ba6313 (patch) | |
tree | 0fba56485f73d01a985ed4afaff83cffa19068d2 /rules | |
parent | 9f5bbfe354c52cd9e28cca32c35596b73e8d738b (diff) |
sd-rtnl: rework rtnl type system
Use a static table with all the typing information, rather than repeated
switch statements. This should make it a lot simpler to add new types.
We need to keep all the type info to be able to create containers
without exposing their implementation details to the users of the library.
As a freebee we verify the types of appended/read attributes.
The API is extended to nicely deal with unions of container types.
Diffstat (limited to 'rules')
0 files changed, 0 insertions, 0 deletions