diff options
author | Thomas Haller <thaller@redhat.com> | 2017-04-04 13:50:30 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-04-05 16:53:06 +0200 |
commit | bb40abb3dee70080ea787a36f5294e223036691a (patch) | |
tree | 97f932c64c644e09380d7a59b2b8f08eee102ff3 /clients/common/nm-client-utils.h | |
parent | d32590041fe90e64dc73ec0d4df47e93ba76bf13 (diff) | |
download | NetworkManager-bb40abb3dee70080ea787a36f5294e223036691a.tar.gz |
cli: move nmc_bond_validate_mode() to "clients/common/nm-client-utils.h"
"clients/common/nm-client-utils.h" already contains other nmc_* validation functions.
It's the better place for nmc_bond_validate_mode()
Diffstat (limited to 'clients/common/nm-client-utils.h')
-rw-r--r-- | clients/common/nm-client-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clients/common/nm-client-utils.h b/clients/common/nm-client-utils.h index 7f700f930f..9ef568991c 100644 --- a/clients/common/nm-client-utils.h +++ b/clients/common/nm-client-utils.h @@ -60,4 +60,7 @@ gboolean nmc_string_to_tristate (const char *str, NMCTriStateValue *val, GError gboolean matches (const char *cmd, const char *pattern); +/* FIXME: don't expose this function on it's own, at least not from this file. */ +const char *nmc_bond_validate_mode (const char *mode, GError **error); + #endif /* __NM_CLIENT_UTILS_H__ */ |