about summary refs log tree commit diff
path: root/src/core/nm-priv-helper-call.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-01-13 22:30:39 +0100
committerMichael Biebl <biebl@debian.org>2022-01-13 22:30:39 +0100
commit88c227d90a6b7b388c5c85d72802a0ca8f05ed5c (patch)
tree71f32df6617802270e8a78574bd8e1637dc532f4 /src/core/nm-priv-helper-call.h
parente74c568b07b50b97873fb4ee1d776dedefbd54d6 (diff)
New upstream version 1.34.0 upstream/1.34.0
Diffstat (limited to 'src/core/nm-priv-helper-call.h')
-rw-r--r--src/core/nm-priv-helper-call.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/nm-priv-helper-call.h b/src/core/nm-priv-helper-call.h
new file mode 100644
index 00000000..1915c5b3
--- /dev/null
+++ b/src/core/nm-priv-helper-call.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
+#ifndef __NM_PRIV_HELPER_CALL_H__
+#define __NM_PRIV_HELPER_CALL_H__
+
+#include "../libnm-base/nm-priv-helper-utils.h"
+
+typedef void (*NMPrivHelperCallGetFDCallback)(int fd_take, GError *error, gpointer user_data);
+
+void nm_priv_helper_call_get_fd(NMPrivHelperGetFDType         fd_type,
+                                GCancellable *                cancellable,
+                                NMPrivHelperCallGetFDCallback callback,
+                                gpointer                      user_data);
+
+#endif /* __NM_PRIV_HELPER_CALL_H__ */