From 067fb576988f685e83ac8b0ae690334aff547c85 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 22 Feb 2026 00:39:58 +0100 Subject: New upstream version 1.56.0 --- src/core/nm-core-utils.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/core/nm-core-utils.h') diff --git a/src/core/nm-core-utils.h b/src/core/nm-core-utils.h index 224018c6..cccccae6 100644 --- a/src/core/nm-core-utils.h +++ b/src/core/nm-core-utils.h @@ -494,6 +494,19 @@ gid_t nm_utils_get_nm_gid(void); /*****************************************************************************/ +gboolean nm_utils_connection_supported(NMConnection *connection, GError **error); + +/*****************************************************************************/ + +typedef struct { + gint64 ts_msec; + gint64 tokens; +} NMRateLimit; + +gboolean nm_rate_limit_check(NMRateLimit *rate_limit, gint32 window_sec, gint32 burst); + +/*****************************************************************************/ + const char *nm_utils_get_connection_first_permissions_user(NMConnection *connection); /*****************************************************************************/ -- cgit 1.3.0-6-gf8a5