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 /Makefile.am | |
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 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 88371a2df4..6c7d6e54d6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2107,6 +2107,8 @@ libsystemd_internal_la_SOURCES = \ src/libsystemd/sd-rtnl/sd-rtnl.c \ src/libsystemd/sd-rtnl/rtnl-internal.h \ src/libsystemd/sd-rtnl/rtnl-message.c \ + src/libsystemd/sd-rtnl/rtnl-types.h \ + src/libsystemd/sd-rtnl/rtnl-types.c \ src/libsystemd/sd-rtnl/rtnl-util.h \ src/libsystemd/sd-rtnl/rtnl-util.c \ src/libsystemd/sd-id128/sd-id128.c \ |