NetworkManager/shared
Thomas Haller e64fdeeaf6 shared: add "shared/nm-glib-aux/nm-value-type.h"
Glib has GValue which used for boxing value.

Add NMValueType enum, which has a similar purpose, but it's much more
limited.

- contrary to GValue, the type must be tracked separately from the
  user-data. That is, the "user-data" is only a pointer of appropriate
  type, and the knowledge of the actual NMValueType is kept separately.
  This will be used to have a static list of meta-data that knows the
  value types, but keeping the values independent of this type
  information. With GValue this would not be possible.

- the use case is much more limited. Just support basic integers,
  boolean and strings. Nothing fancy.

Note that we already do something similar at muliple places. See for
example NMVariantAttributeSpec and nm_utils_team_link_watcher_to_string().
These could/should instead use NMValueType.
2019-05-23 18:09:49 +02:00
..
c-list shared/c-list: reimport 2019-04-14 17:22:04 +02:00
c-rbtree shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
c-siphash shared/c-siphash: reimport 2019-04-14 17:23:25 +02:00
c-stdaux shared: patch c-stdaux.h to not include <stdatomic.h> 2019-04-14 17:17:52 +02:00
n-acd shared/n-acd: reimport 2019-04-14 17:23:50 +02:00
nm-glib-aux shared: add "shared/nm-glib-aux/nm-value-type.h" 2019-05-23 18:09:49 +02:00
nm-libnm-core-aux shared: fix invalid assertion in nm_utils_team_link_watcher_from_string() 2019-05-23 18:09:49 +02:00
nm-libnm-core-intern shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 18:59:09 +02:00
nm-std-aux shared: move "nm-dbus-compat.h" header to "nm-std-aux/nm-dbus-compat.h" 2019-04-18 18:59:09 +02:00
nm-udev-aux shared: move udev helper to separate directory "shared/nm-udev-aux" 2019-04-18 18:58:28 +02:00
nm-utils shared: implement _nm_utils_monotonic_timestamp_initialized() in "nm-logging-stub.c" 2019-05-22 20:04:08 +02:00
systemd shared: implement _nm_utils_monotonic_timestamp_initialized() in "nm-logging-stub.c" 2019-05-22 20:04:08 +02:00
meson.build shared: add "shared/nm-glib-aux/nm-json-aux.h" 2019-05-23 18:09:49 +02:00
nm-default.h shared: move most of "shared/nm-utils" to "shared/nm-glib-aux" 2019-04-18 18:59:09 +02:00
nm-meta-setting.c shared: embed scheme_type in NMSetting8021xSchemeVtable 2019-05-15 09:49:42 +02:00
nm-meta-setting.h shared: embed scheme_type in NMSetting8021xSchemeVtable 2019-05-15 09:49:42 +02:00
nm-test-libnm-utils.h all: goodbye libnm-glib 2019-04-16 15:52:27 +02:00
nm-test-utils-impl.c shared: move "nm-dbus-compat.h" header to "nm-std-aux/nm-dbus-compat.h" 2019-04-18 18:59:09 +02:00
nm-version-macros.h.in release: bump version to 1.19.0 (development) 2019-04-13 18:54:31 +02:00