summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/ofono_voicecallmanager_interface.c
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-01-17 16:14:25 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-01-17 16:14:25 +0000
commitcf9ca2650ac61ac9ebb4441007e6337c32eaf03f (patch)
tree7509759877da62a5388ef59d4890b15ee7dc87ca /binding/gdbus/ofono_voicecallmanager_interface.c
parent728f52173e367625f8c294173fb73337ffdbc0a7 (diff)
parent0753395f9f9e1f294192323ac29d2a3e1d1cf93c (diff)
Merge "binding: telephony: remove compiler warnings"guppy_6.99.4guppy/6.99.46.99.4
Diffstat (limited to 'binding/gdbus/ofono_voicecallmanager_interface.c')
-rw-r--r--binding/gdbus/ofono_voicecallmanager_interface.c93
1 files changed, 47 insertions, 46 deletions
diff --git a/binding/gdbus/ofono_voicecallmanager_interface.c b/binding/gdbus/ofono_voicecallmanager_interface.c
index 88c86da..6552dbb 100644
--- a/binding/gdbus/ofono_voicecallmanager_interface.c
+++ b/binding/gdbus/ofono_voicecallmanager_interface.c
@@ -1,7 +1,8 @@
/*
- * Generated by gdbus-codegen 2.50.3. DO NOT EDIT.
+ * Generated by gdbus-codegen 2.56.3. DO NOT EDIT.
*
- * The license of this code is the same as for the source it was derived from.
+ * The license of this code is the same as for the D-Bus interface description
+ * it was derived from.
*/
#ifdef HAVE_CONFIG_H
@@ -687,7 +688,7 @@ org_ofono_voice_call_manager_interface_info (void)
/**
* org_ofono_voice_call_manager_override_properties:
- * @klass: The class structure for a #GObject<!-- -->-derived class.
+ * @klass: The class structure for a #GObject derived class.
* @property_id_begin: The property id to assign to the first overridden property.
*
* Overrides all #GObject properties in the #OrgOfonoVoiceCallManager interface for a concrete class.
@@ -734,7 +735,7 @@ org_ofono_voice_call_manager_override_properties (GObjectClass *klass, guint pro
*/
typedef OrgOfonoVoiceCallManagerIface OrgOfonoVoiceCallManagerInterface;
-G_DEFINE_INTERFACE (OrgOfonoVoiceCallManager, org_ofono_voice_call_manager, G_TYPE_OBJECT);
+G_DEFINE_INTERFACE (OrgOfonoVoiceCallManager, org_ofono_voice_call_manager, G_TYPE_OBJECT)
static void
org_ofono_voice_call_manager_default_init (OrgOfonoVoiceCallManagerIface *iface)
@@ -1190,7 +1191,7 @@ org_ofono_voice_call_manager_emit_forwarded (
/**
* org_ofono_voice_call_manager_call_get_properties:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1251,7 +1252,7 @@ _out:
* org_ofono_voice_call_manager_call_get_properties_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
* @out_unnamed_arg0: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.GetProperties">GetProperties()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -1290,7 +1291,7 @@ _out:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
* @arg_unnamed_arg0: Argument to pass with the method invocation.
* @arg_unnamed_arg1: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1357,7 +1358,7 @@ _out:
* @arg_unnamed_arg0: Argument to pass with the method invocation.
* @arg_unnamed_arg1: Argument to pass with the method invocation.
* @out_unnamed_arg2: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.Dial">Dial()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -1398,7 +1399,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_transfer:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1455,7 +1456,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_transfer_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.Transfer">Transfer()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -1490,7 +1491,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_swap_calls:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1547,7 +1548,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_swap_calls_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.SwapCalls">SwapCalls()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -1582,7 +1583,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_release_and_answer:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1639,7 +1640,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_release_and_answer_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.ReleaseAndAnswer">ReleaseAndAnswer()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -1674,7 +1675,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_hold_and_answer:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1731,7 +1732,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_hold_and_answer_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.HoldAndAnswer">HoldAndAnswer()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -1766,7 +1767,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_hangup_all:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1823,7 +1824,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_hangup_all_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.HangupAll">HangupAll()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -1859,7 +1860,7 @@ _out:
* org_ofono_voice_call_manager_call_private_chat:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
* @arg_unnamed_arg0: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1891,7 +1892,7 @@ org_ofono_voice_call_manager_call_private_chat (
/**
* org_ofono_voice_call_manager_call_private_chat_finish:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @out_unnamed_arg1: (out): Return location for return parameter or %NULL to ignore.
+ * @out_unnamed_arg1: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
* @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_ofono_voice_call_manager_call_private_chat().
* @error: Return location for error or %NULL.
*
@@ -1922,8 +1923,8 @@ _out:
* org_ofono_voice_call_manager_call_private_chat_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
* @arg_unnamed_arg0: Argument to pass with the method invocation.
- * @out_unnamed_arg1: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @out_unnamed_arg1: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.PrivateChat">PrivateChat()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -1962,7 +1963,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_create_multiparty:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -1992,7 +1993,7 @@ org_ofono_voice_call_manager_call_create_multiparty (
/**
* org_ofono_voice_call_manager_call_create_multiparty_finish:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @out_unnamed_arg0: (out): Return location for return parameter or %NULL to ignore.
+ * @out_unnamed_arg0: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
* @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_ofono_voice_call_manager_call_create_multiparty().
* @error: Return location for error or %NULL.
*
@@ -2022,8 +2023,8 @@ _out:
/**
* org_ofono_voice_call_manager_call_create_multiparty_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @out_unnamed_arg0: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @out_unnamed_arg0: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.CreateMultiparty">CreateMultiparty()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -2060,7 +2061,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_hangup_multiparty:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -2117,7 +2118,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_hangup_multiparty_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.HangupMultiparty">HangupMultiparty()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -2153,7 +2154,7 @@ _out:
* org_ofono_voice_call_manager_call_send_tones:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
* @arg_unnamed_arg0: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -2213,7 +2214,7 @@ _out:
* org_ofono_voice_call_manager_call_send_tones_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
* @arg_unnamed_arg0: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.SendTones">SendTones()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -2250,7 +2251,7 @@ _out:
/**
* org_ofono_voice_call_manager_call_get_calls:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
@@ -2311,7 +2312,7 @@ _out:
* org_ofono_voice_call_manager_call_get_calls_sync:
* @proxy: A #OrgOfonoVoiceCallManagerProxy.
* @out_unnamed_arg0: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
* Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.GetCalls">GetCalls()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -2601,11 +2602,11 @@ static void org_ofono_voice_call_manager_proxy_iface_init (OrgOfonoVoiceCallMana
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallManagerProxy, org_ofono_voice_call_manager_proxy, G_TYPE_DBUS_PROXY,
G_ADD_PRIVATE (OrgOfonoVoiceCallManagerProxy)
- G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_proxy_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_proxy_iface_init))
#else
G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallManagerProxy, org_ofono_voice_call_manager_proxy, G_TYPE_DBUS_PROXY,
- G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_proxy_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_proxy_iface_init))
#endif
static void
@@ -2642,8 +2643,8 @@ org_ofono_voice_call_manager_proxy_g_signal (GDBusProxy *proxy,
GVariantIter iter;
GVariant *child;
GValue *paramv;
- guint num_params;
- guint n;
+ gsize num_params;
+ gsize n;
guint signal_id;
info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_ofono_voice_call_manager_interface_info.parent_struct, signal_name);
if (info == NULL)
@@ -2743,9 +2744,9 @@ org_ofono_voice_call_manager_proxy_iface_init (OrgOfonoVoiceCallManagerIface *if
* org_ofono_voice_call_manager_proxy_new:
* @connection: A #GDBusConnection.
* @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
+ * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
* @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied.
* @user_data: User data to pass to @callback.
*
@@ -2798,9 +2799,9 @@ org_ofono_voice_call_manager_proxy_new_finish (
* org_ofono_voice_call_manager_proxy_new_sync:
* @connection: A #GDBusConnection.
* @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
+ * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
* @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL
*
* Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-ofono-VoiceCallManager.top_of_page">org.ofono.VoiceCallManager</link>. See g_dbus_proxy_new_sync() for more details.
@@ -2835,7 +2836,7 @@ org_ofono_voice_call_manager_proxy_new_sync (
* @flags: Flags from the #GDBusProxyFlags enumeration.
* @name: A bus name (well-known or unique).
* @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied.
* @user_data: User data to pass to @callback.
*
@@ -2890,7 +2891,7 @@ org_ofono_voice_call_manager_proxy_new_for_bus_finish (
* @flags: Flags from the #GDBusProxyFlags enumeration.
* @name: A bus name (well-known or unique).
* @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @cancellable: (nullable): A #GCancellable or %NULL.
* @error: Return location for error or %NULL
*
* Like org_ofono_voice_call_manager_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
@@ -2959,9 +2960,9 @@ _org_ofono_voice_call_manager_skeleton_handle_method_call (
GVariantIter iter;
GVariant *child;
GValue *paramv;
- guint num_params;
+ gsize num_params;
guint num_extra;
- guint n;
+ gsize n;
guint signal_id;
GValue return_value = G_VALUE_INIT;
info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
@@ -3259,11 +3260,11 @@ static void org_ofono_voice_call_manager_skeleton_iface_init (OrgOfonoVoiceCallM
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallManagerSkeleton, org_ofono_voice_call_manager_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
G_ADD_PRIVATE (OrgOfonoVoiceCallManagerSkeleton)
- G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_skeleton_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_skeleton_iface_init))
#else
G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallManagerSkeleton, org_ofono_voice_call_manager_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
- G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_skeleton_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_skeleton_iface_init))
#endif
static void