mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-11 13:00:31 +01:00
* src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function nm_ap_set_timestamp() take the second and micro-second parameters as direct arguments, which avoids both a dynamic memory allocation and a structure-to-structure copy! Add a new interface, the aptly named nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an existing GTimeVal, as nm_ap_set_timestamp() once did, for use with the return from nm_ap_get_timestamp(). New users should use the new nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for the extreme benefit to performance. * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c, src/backends/NetworkManagerSuSE.c: Use the new functions as needed. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1569 4912f4e0-d625-0410-9fb7-b9a5a253dbdc |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| interface_parser.c | ||
| interface_parser.h | ||
| Makefile.am | ||
| NetworkManagerDebian.c | ||
| NetworkManagerGentoo.c | ||
| NetworkManagerRedHat.c | ||
| NetworkManagerSlackware.c | ||
| NetworkManagerSuSE.c | ||
| shvar.c | ||
| shvar.h | ||