about summary refs log tree commit diff
path: root/src/core/nm-priv-helper-call.h
diff options
context:
space:
mode:
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__ */