summaryrefslogtreecommitdiff
path: root/src/NetworkManagerUtils.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-04-21 11:48:25 -0400
committerThomas Haller <thaller@redhat.com>2015-04-29 07:32:42 +0200
commit967376b84036686a9694b46decc301a098ab74cc (patch)
tree1f9f79df3e2e7a6d51861fd129e109ff19a5d490 /src/NetworkManagerUtils.h
parentb5beaef8fa19a85110582b3c4439daa49e567d85 (diff)
downloadNetworkManager-967376b84036686a9694b46decc301a098ab74cc.tar.gz
core: add nm_utils_monotonic_timestamp_as_boottime() function
Diffstat (limited to 'src/NetworkManagerUtils.h')
-rw-r--r--src/NetworkManagerUtils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/NetworkManagerUtils.h b/src/NetworkManagerUtils.h
index 99de3b66b9..16c5ba39bd 100644
--- a/src/NetworkManagerUtils.h
+++ b/src/NetworkManagerUtils.h
@@ -141,6 +141,7 @@ gint64 nm_utils_get_monotonic_timestamp_ns (void);
gint64 nm_utils_get_monotonic_timestamp_us (void);
gint64 nm_utils_get_monotonic_timestamp_ms (void);
gint32 nm_utils_get_monotonic_timestamp_s (void);
+gint64 nm_utils_monotonic_timestamp_as_boottime (gint64 timestamp, gint64 timestamp_ticks_per_ns);
const char *ASSERT_VALID_PATH_COMPONENT (const char *name) G_GNUC_WARN_UNUSED_RESULT;
const char *nm_utils_ip6_property_path (const char *ifname, const char *property);