about summary refs log tree commit diff
path: root/src/core/nm-core-utils.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-05-04 15:38:03 +0200
committerMichael Biebl <biebl@debian.org>2022-05-04 15:38:03 +0200
commitfc1f1b6881ed5199b4cc81face915769a3dc9897 (patch)
treed2b3f6b775541cece8de7ef9e687c72665f5d820 /src/core/nm-core-utils.h
parent16cc38ed3d1761b178512c9a6c291ad366c6fad8 (diff)
parent9959fdb2e8ddd06f2161798ca0a39c77d67c652d (diff)
Update upstream source from tag 'upstream/1.37.92'
Update to upstream version '1.37.92'
with Debian dir 0128b715b1fc3e516169a4599c33567587d59088
Diffstat (limited to 'src/core/nm-core-utils.h')
-rw-r--r--src/core/nm-core-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/nm-core-utils.h b/src/core/nm-core-utils.h
index 7079ab2f..d1a62a60 100644
--- a/src/core/nm-core-utils.h
+++ b/src/core/nm-core-utils.h
@@ -233,6 +233,7 @@ void nm_utils_log_connection_diff(NMConnection *connection,
                                   const char   *dbus_path);
 
 gboolean nm_utils_is_specific_hostname(const char *name);
+gboolean nm_utils_shorten_hostname(const char *hostname, char **shortened);
 
 struct _NMUuid;
 
@@ -246,7 +247,7 @@ const char           *nm_utils_proc_cmdline(void);
 const char *const    *nm_utils_proc_cmdline_split(void);
 
 gboolean nm_utils_host_id_get(const guint8 **out_host_id, gsize *out_host_id_len);
-gint64   nm_utils_host_id_get_timestamp_ns(void);
+gint64   nm_utils_host_id_get_timestamp_nsec(void);
 
 void nmtst_utils_host_id_push(const guint8 *host_id,
                               gssize        host_id_len,