X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fafb-migration-to-binding-v3.md;h=bff88cd9316add4bab4c3a5af39493222825a9b6;hb=53228dcf9d0d4e3d82b63ced744f5ea0c0d579e7;hp=f7e09fd9109843b48136a98520b8b231ec37a66f;hpb=f44a28affea5841186250b66fd5ce72a8afbe349;p=src%2Fapp-framework-binder.git diff --git a/docs/afb-migration-to-binding-v3.md b/docs/afb-migration-to-binding-v3.md index f7e09fd9..bff88cd9 100644 --- a/docs/afb-migration-to-binding-v3.md +++ b/docs/afb-migration-to-binding-v3.md @@ -156,7 +156,7 @@ These functions are now implemented as the following macros: This is a decision of the developer to switch to the new family **afb_req_reply** or to keep the good old functions **afb_req_fail** -adn **afb_req_success**. +and **afb_req_success**. Consider use of the new (sub)call --------------------------------- @@ -177,8 +177,18 @@ of the context and event subscriptions. The new design allows you to specify: - whether the caller or the service or both or none will receive the eventually events during the subcall. -See [calls](reference-v3/func-api/#calls-and-job-functions) and -[subcalls](reference-v3/func-req/#subcall-functions). +See [calls](reference-v3/func-api.html#calls-and-job-functions) and +[subcalls](reference-v3/func-req.html#subcall-functions). + +The table below list the changes to apply: + +| Name in Version 2 | New name of Version 3 +|:----------------------:|:----------------------------------------------------: +| afb_req_subcall | afb_req_subcall_legacy +| afb_req_subcall_sync | afb_req_subcall_sync_legacy +| afb_service_call | afb_service_call_legacy +| afb_service_call_sync | afb_service_call_sync_legacy +| afb_req_subcall_req | afb_req_subcall_req (same but obsolete) Consider use of event handlers @@ -187,4 +197,4 @@ Consider use of event handlers Binding V3 brings new ways of handling event in services. You can register functions that will handle specific events and that accept closure arguments. -See [**afb_api_event_handler_add** and **afb_api_event_handler_del**](reference-v3/func-api/#event-functions) +See [**afb_api_event_handler_add** and **afb_api_event_handler_del**](reference-v3/func-api.html#event-functions)