mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
GUnixFDList: Include only in unix build
This commit is contained in:
parent
db76697aee
commit
c9874f817b
@ -218,6 +218,9 @@ GVariant *g_dbus_connection_call_sync (GDBusConnection
|
||||
gint timeout_msec,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
#ifdef G_OS_UNIX
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
void g_dbus_connection_call_with_unix_fd_list (GDBusConnection *connection,
|
||||
const gchar *bus_name,
|
||||
@ -252,6 +255,8 @@ GVariant *g_dbus_connection_call_with_unix_fd_list_sync (GDBusConnection
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
#endif /* G_OS_UNIX */
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
|
@ -107,12 +107,17 @@ GVariant *g_dbus_message_get_body (GDBusMessage
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_dbus_message_set_body (GDBusMessage *message,
|
||||
GVariant *body);
|
||||
|
||||
#ifdef G_OS_UNIX
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GUnixFDList *g_dbus_message_get_unix_fd_list (GDBusMessage *message);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_dbus_message_set_unix_fd_list (GDBusMessage *message,
|
||||
GUnixFDList *fd_list);
|
||||
|
||||
#endif /* G_OS_UNIX */
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
guint32 g_dbus_message_get_reply_serial (GDBusMessage *message);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
|
@ -94,10 +94,12 @@ gpointer g_dbus_method_invocation_get_user_data (GDBusMetho
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
|
||||
GVariant *parameters);
|
||||
#ifdef G_OS_UNIX
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_dbus_method_invocation_return_value_with_unix_fd_list (GDBusMethodInvocation *invocation,
|
||||
GVariant *parameters,
|
||||
GUnixFDList *fd_list);
|
||||
#endif /* G_OS_UNIX */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_dbus_method_invocation_return_error (GDBusMethodInvocation *invocation,
|
||||
GQuark domain,
|
||||
|
@ -183,6 +183,8 @@ GVariant *g_dbus_proxy_call_sync (GDBusProxy *pr
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
#ifdef G_OS_UNIX
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_dbus_proxy_call_with_unix_fd_list (GDBusProxy *proxy,
|
||||
const gchar *method_name,
|
||||
@ -209,6 +211,8 @@ GVariant *g_dbus_proxy_call_with_unix_fd_list_sync (GDBusProxy
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
#endif /* G_OS_UNIX */
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_DBUS_PROXY_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user