| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | shared: use value infos in _nm_utils_enum_to_str_full | Beniamino Galvani | 2018-04-13 | 1 | -10/+37 |
| | | |||||
| * | shared: cast from/to argument to unsigned for GFlags in ↵ | Thomas Haller | 2017-04-27 | 1 | -1/+1 |
| | | | | | _nm_utils_enum_get_values() | ||||
| * | libnm: move public nm_utils_enum_*() functions back to libnm-core | Thomas Haller | 2017-04-05 | 1 | -60/+2 |
| | | | | | | | | | | | | | | | Commit a8730c51c8915d7cd4209c0420734bf446b902d3 moved the enum utils from libnm-core to shared/nm-utils. However, three of those functions are part of public API in libnm. So, when statically linking against "shared/nm-utils/nm-enum-utils.c" and dynamically linking against libnm.so, those symbols are present twice and cause a linker failure. Fix that by moving the public API back to libnm-core. Fixes: a8730c51c8915d7cd4209c0420734bf446b902d3 | ||||
| * | utils: add _nm_utils_enum_from_str_full() to support aliases | Thomas Haller | 2017-03-30 | 1 | -4/+39 |
| | | |||||
| * | libnm: move enum utils to new shared file shared/nm-utils/nm-enum-utils.h | Thomas Haller | 2017-03-30 | 1 | -0/+311 |
| libnm contains the public function nm_utils_enum_from_str() et al. The function is not flexible enough for nmcli's usecase. So, I would need another public function like nm_utils_enum_from_str_full() that has an extended API. That was already required previously for ifcfg-rh writer, but in that case I could just add it as internal API as libnm-core is linked statically with NetworkManager. I don't want to commit to a public API for an utility function. So move the code instead to the shared directory, so that nmcli may link statically against it and use the internal API. | |||||
