Method
VarlinkClientProtocolcall
Declaration [src]
VarlinkClientMethodCall*
varlink_client_protocol_call (
VarlinkClientProtocol* self,
const char* method,
VarlinkMessage* parameters,
VarlinkMethodCallFlags flags,
VarlinkMethodReplyHandler handler,
gpointer user_data,
GDestroyNotify notify
)
Parameters
method-
Type:
const char*The method name.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. parameters-
Type:
VarlinkMessageA
VarlinkMessage.The data is owned by the caller of the method. flags-
Type:
VarlinkMethodCallFlagsFlags for the method call.
handler-
Type:
VarlinkMethodReplyHandlerA handler for replies.
The argument can be NULL. user_data-
Type:
gpointerUser data for
handler.The argument can be NULL.The data is owned by the caller of the method. notify-
Type:
GDestroyNotifyDestroy notify for
user_data.The argument can be NULL.
Return value
Type: VarlinkClientMethodCall
A VarlinkClientMethodCall.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |