free(handle);
}
-static void __message_create(rpc_port_stub_AutofillSvcPort_context_h context,
- void *user_data)
-{
- LOGD("");
- char *sender = NULL;
-
- rpc_port_stub_AutofillSvcPort_context_get_sender(context, &sender);
- if (!sender)
- return;
-
- LOGD("sender(%s)", sender);
- free(sender);
-}
-
-static void __message_terminate(rpc_port_stub_AutofillSvcPort_context_h context,
- void *user_data)
-{
- LOGD("");
- char *sender = NULL;
-
- rpc_port_stub_AutofillSvcPort_context_get_sender(context, &sender);
- if (!sender)
- return;
-
- LOGD("sender(%s)", sender);
- free(sender);
-}
-
static int __message_register(rpc_port_stub_AutofillSvcPort_context_h context,
rpc_port_AutofillSvcPort_autofill_svc_auth_info_cb_h auth_info_cb,
rpc_port_AutofillSvcPort_autofill_svc_fill_response_cb_h fill_response_received_cb,
if (!sender)
return -1;
- LOGD("sender(%s)", sender);
-
autofill_svc_s *client;
client = __create_client(sender, auth_info_cb, fill_response_received_cb, send_error_cb);
free(sender);
int ret;
rpc_port_stub_AutofillSvcPort_callback_s callback = {
- __message_create,
- __message_terminate,
+ NULL,
+ NULL,
__message_register,
__message_unregister,
__auth_info_request_cb,