summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-03-26 19:25:01 +0100
committerTom Gundersen <teg@jklm.no>2014-03-28 19:11:59 +0100
commitd8e538ecd9e62f841242f07e3df5c835c1ba6313 (patch)
tree0fba56485f73d01a985ed4afaff83cffa19068d2 /rules
parent9f5bbfe354c52cd9e28cca32c35596b73e8d738b (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