mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 13:00:16 +01:00
I dislike the static hash table to cache the integer counter for numbered paths. Let's instead cache the counter at the class instance itself -- since the class contains the information how the export path should be exported. However, we cannot use a plain integer field inside the class structure, because the class is copied between derived classes. For example, NMDeviceEthernet and NMDeviceBridge both get a copy of the NMDeviceClass instance. Hence, the class doesn't contain the counter directly, but a pointer to one counter that can be shared between sibling classes. |
||
|---|---|---|
| .. | ||
| meson.build | ||
| nm-ppp-manager-call.c | ||
| nm-ppp-manager-call.h | ||
| nm-ppp-manager.c | ||
| nm-ppp-manager.h | ||
| nm-ppp-plugin-api.h | ||
| nm-ppp-plugin.ver | ||
| nm-ppp-status.h | ||
| nm-pppd-plugin.c | ||
| nm-pppd-plugin.h | ||