summary refs log tree commit diff
path: root/src/libnm-client-impl/nm-dbus-helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-client-impl/nm-dbus-helpers.h')
-rw-r--r--src/libnm-client-impl/nm-dbus-helpers.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/libnm-client-impl/nm-dbus-helpers.h b/src/libnm-client-impl/nm-dbus-helpers.h
new file mode 100644
index 00000000..e519f733
--- /dev/null
+++ b/src/libnm-client-impl/nm-dbus-helpers.h
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2013 Red Hat, Inc.
+ */
+
+#ifndef __NM_DBUS_HELPERS_PRIVATE_H__
+#define __NM_DBUS_HELPERS_PRIVATE_H__
+
+#if !((NETWORKMANAGER_COMPILATION) &NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_PRIVATE)
+    #error Cannot use this header.
+#endif
+
+#include "libnm-std-aux/nm-dbus-compat.h"
+
+#define NM_DBUS_DEFAULT_TIMEOUT_MSEC 25000
+
+GBusType _nm_dbus_bus_type(void);
+
+void _nm_dbus_bind_properties(gpointer object, gpointer skeleton);
+
+void _nm_dbus_bind_methods(gpointer object, gpointer skeleton, ...) G_GNUC_NULL_TERMINATED;
+
+#endif /* __NM_DBUS_HELPERS_PRIVATE_H__ */