mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 13:20:20 +01:00
NMPObject is a simple "object" implemenation around NMPlatformObject.
They are ref-counted and have a class-pointer. Several basic functions
like equality, hash, to-string are implemented.
NMPCache is can be used to store the NMPObject. Objects are indexed
via their primary id, but there is also multi-lookup via NMCacheId
and NMMultiIndex.
Part of the implementation is inside "nm-linux-platform.c",
because it depends on utility functions from there.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| dump.c | ||
| Makefile.am | ||
| monitor.c | ||
| platform.c | ||
| test-address.c | ||
| test-cleanup.c | ||
| test-common.c | ||
| test-common.h | ||
| test-general.c | ||
| test-link.c | ||
| test-nmp-object.c | ||
| test-route.c | ||