diff options
| author | Thomas Haller <thaller@redhat.com> | 2017-10-23 14:24:28 +0200 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2017-10-24 16:05:40 +0200 |
| commit | cd271d5cb1b4d1e87ecec36956531431c4f3cb3f (patch) | |
| tree | 584eea1e6f5659251f30516bd7c0430dddc69c57 /src/nm-core-utils.h | |
| parent | 32b3eb11814e522e18800d0d402d84d170a6f456 (diff) | |
| download | NetworkManager-cd271d5cb1b4d1e87ecec36956531431c4f3cb3f.tar.gz | |
core: add nm_utils_sysctl_ip_conf_is_path() util
Diffstat (limited to 'src/nm-core-utils.h')
| -rw-r--r-- | src/nm-core-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-core-utils.h b/src/nm-core-utils.h index 3b3944e93f..cc78472442 100644 --- a/src/nm-core-utils.h +++ b/src/nm-core-utils.h @@ -253,6 +253,8 @@ const char *NM_ASSERT_VALID_PATH_COMPONENT (const char *name); const char *nm_utils_sysctl_ip_conf_path (int addr_family, char *buf, const char *ifname, const char *property); +gboolean nm_utils_sysctl_ip_conf_is_path (int addr_family, const char *path, const char *ifname, const char *property); + gboolean nm_utils_is_specific_hostname (const char *name); int nm_utils_fd_get_contents (int fd, |
