summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/conf
AgeCommit message (Collapse)AuthorFilesLines
2023-11-06Fix Flutter versionScott Murray1-1/+1
FLUTTER_SDK_TAG needs to be bumped to 3.13.9 to match the new default in meta-flutter from the most recent layer bump. Bug-AGL: SPEC-4938 Change-Id: I16d95f5b3ac60d4b0d7c4f9ca26bc2f36fd1e5e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-10-18Flutter 3.13.2 updateJoel Winarske1-5/+1
-README update -workspace-automation configs * _global.json - move to 3.13.2 * _repos.json - remove wonderous, update commits, add depot_tools * flutter-engine.json - flutter engine local build (optional) * desktop-auto.json - remove clang from desktop-auto config -flutter-engine recipe * remove bbappend patches -flutter-auto * update agl-shell PACKAGECONFIG addition * remove patches upstream picked up 0001-shell-wayland-display-Handle-flags-as-bitfield-entri.patch dropped 0001-Add-optional-agl_shell-plugin.patch Bug-AGL: SPEC-4936 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iddd7c0f735abb4d114ba89a8bf0e49977b469150
2023-06-07meta-agl-flutter: fix flutter-gallery buildScott Murray1-0/+4
Add a SRCREV override for flutter-gallery to pick up the version that was used with Flutter 3.3.x in meta-flutter. This matches our override of FLUTTER_SDK_TAG to use Flutter 3.3.7, and fixes the build of it and hence agl-image-flutter. The override has been added in agl-flutter.inc to be visible beside the Flutter version override so they can be updated/removed at the same time easily. Bug-AGL: SPEC-4819 Change-Id: I27207baa78a498d9e52c21f0b093a3d3bb671f37 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-01Flutter bbclass refactorJoel Winarske1-3/+1
-remove use of bbclass runtime modes -use external automation-workspace repo Scott Murray: - update flutter-auto agl-shell platform channel plugin patch with reworked version from Marius Vlad. Bug-AGL: SPEC-4819 Change-Id: I7510f916ab70d8bab78fdb9ab235092f84c3713a Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-09-12meta-agl-flutter updatesJoel Winarske1-3/+3
-layer README -flutter workspace configuration file -consolidation of gallery json files -remove flutter sdk version pin; now happens upstream -add engine_sdk.zip to all images (non-production) -add SSH server to debug and profile images -factor out flutter-auto xdg-shell-app-id patch Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I6fdf1277bb4011126103f74eda5e230f34f497d7
2022-09-01Pin Flutter SDK to ensure reproducible buildsScott Murray1-3/+3
To ensure reproducibility as well as avoid build failures when Google upstream runs ahead of meta-flutter, set FLUTTER_SDK_TAG to pin the Flutter SDK components as opposed to the meta-flutter default of letting them float. Bug-AGL: SPEC-4545 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If7543329ba13f87abc0b66080494bd8f1e812642
2022-04-17meta-agl-flutter: Initial Kirkstone updatesScott Murray1-0/+4
Changes: - Unpin Flutter SDK tag and ivi-homescreen SRCREV to track the upstream development against kirkstone for now. This at least gets us to building an image. It seems likely that when the Needlefish release happens these may need to be pinned again for reproducibility. - Added a remove of the "gstreamer" option from the ivi-homescreen PACKAGECONFIG in the local bbappend. This avoids needing to enable "commercial" licenses to allow ffmpeg to be pulled in. This will likely need further investigation around just what pieces are needed for upstream, as currently Flutter video playback is tied to it. It may be that an AGL feature to enable commercial licenses specifically for this becomes necessary... Note that while the above does allow building agl-image-flutter, ivi-homescreen currently fails to start, so further investigation is required. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I40f0619a161c4ebe1f37dc840caf9bbd6bc95947
2022-03-24Declare layer compatibility with kirkstoneScott Murray1-1/+1
For tracking upstream, we need to update the layer compatibility. Bug-AGL: SPEC-3819 Change-Id: I23423baa371ed1b8b4a9024d9ac6f0c4d7e48185 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-12-09Add meta-agl-flutter layerJoel Winarske2-0/+15
- agl-image-flutter baseline agl-compositor based image that includes: ivi-homescreen - Toyota Flutter Embedder flutter gallery - Flutter Demo Application flutter_homescreen - Igalia Demo Application - flutter-app-homescreen - Igalia flutter_homescreen app - ivi-homescreen bbappend to lock SRCREV Bug-AGL: SPEC-3852 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I58779ab093e9d23a88005e60ef28b9133eca2479
f='#n357'>357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384
/*
 * Copyright (C) 2015-2020 "IoT.bzh"
 * Author: José Bollo <jose.bollo@iot.bzh>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#pragma once

/******************************************************************************/

#if AFB_BINDING_VERSION == 1 || AFB_BINDING_VERSION == 2

#define afb_req   			afb_req_x1
#define afb_req_is_valid		afb_req_x1_is_valid
#define afb_req_get			afb_req_x1_get
#define afb_req_value			afb_req_x1_value
#define afb_req_path			afb_req_x1_path
#define afb_req_json			afb_req_x1_json
#define afb_req_reply			afb_req_x1_reply
#define afb_req_reply_f			afb_req_x1_reply_f
#define afb_req_reply_v			afb_req_x1_reply_v
#define afb_req_success(r,o,i)		afb_req_x1_reply(r,o,0,i)
#define afb_req_success_f(r,o,...)	afb_req_x1_reply_f(r,o,0,__VA_ARGS__)
#define afb_req_success_v(r,o,f,v)	afb_req_x1_reply_v(r,o,0,f,v)
#define afb_req_fail(r,e,i)		afb_req_x1_reply(r,0,e,i)
#define afb_req_fail_f(r,e,...)		afb_req_x1_reply_f(r,0,e,__VA_ARGS__)
#define afb_req_fail_v(r,e,f,v)		afb_req_x1_reply_v(r,0,e,f,v)
#define afb_req_context_get		afb_req_x1_context_get
#define afb_req_context_set		afb_req_x1_context_set
#define afb_req_context			afb_req_x1_context
#define afb_req_context_make		afb_req_x1_context_make
#define afb_req_context_clear		afb_req_x1_context_clear
#define afb_req_addref			afb_req_x1_addref
#define afb_req_unref			afb_req_x1_unref
#define afb_req_session_close		afb_req_x1_session_close
#define afb_req_session_set_LOA		afb_req_x1_session_set_LOA
#define afb_req_subscribe		afb_req_x1_subscribe
#define afb_req_unsubscribe		afb_req_x1_unsubscribe
#define afb_req_subcall			afb_req_x1_subcall
#define afb_req_subcall_req		afb_req_x1_subcall_req
#define afb_req_subcall_sync		afb_req_x1_subcall_sync
#define afb_req_verbose			afb_req_x1_verbose
#define afb_req_has_permission		afb_req_x1_has_permission
#define afb_req_get_application_id	afb_req_x1_get_application_id
#define afb_req_get_uid			afb_req_x1_get_uid
#define afb_req_get_client_info		afb_req_x1_get_client_info

#define afb_event			afb_event_x1
#define afb_event_to_event_x2		afb_event_x1_to_event_x2
#define afb_event_is_valid		afb_event_x1_is_valid
#define afb_event_broadcast		afb_event_x1_broadcast
#define afb_event_push			afb_event_x1_push
#define afb_event_drop			afb_event_x1_unref
#define afb_event_name			afb_event_x1_name
#define afb_event_unref			afb_event_x1_unref
#define afb_event_addref		afb_event_x1_addref

#define afb_service			afb_service_x1
#define afb_daemon			afb_daemon_x1

#define _AFB_SYSLOG_LEVEL_EMERGENCY_	AFB_SYSLOG_LEVEL_EMERGENCY
#define _AFB_SYSLOG_LEVEL_ALERT_	AFB_SYSLOG_LEVEL_ALERT
#define _AFB_SYSLOG_LEVEL_CRITICAL_	AFB_SYSLOG_LEVEL_CRITICAL
#define _AFB_SYSLOG_LEVEL_ERROR_	AFB_SYSLOG_LEVEL_ERROR
#define _AFB_SYSLOG_LEVEL_WARNING_	AFB_SYSLOG_LEVEL_WARNING
#define _AFB_SYSLOG_LEVEL_NOTICE_	AFB_SYSLOG_LEVEL_NOTICE
#define _AFB_SYSLOG_LEVEL_INFO_		AFB_SYSLOG_LEVEL_INFO
#define _AFB_SYSLOG_LEVEL_DEBUG_	AFB_SYSLOG_LEVEL_DEBUG

#endif

/******************************************************************************/
#if AFB_BINDING_VERSION == 1

#define afb_req_store			afb_req_x1_store_v1
#define afb_req_unstore			afb_req_x1_unstore_v1

#define afb_binding			afb_binding_v1
#define afb_binding_interface		afb_binding_interface_v1

#define afb_daemon_get_event_loop	afb_daemon_get_event_loop_v1
#define afb_daemon_get_user_bus		afb_daemon_get_user_bus_v1
#define afb_daemon_get_system_bus	afb_daemon_get_system_bus_v1
#define afb_daemon_broadcast_event	afb_daemon_broadcast_event_v1
#define afb_daemon_make_event		afb_daemon_make_event_v1
#define afb_daemon_verbose		afb_daemon_verbose_v1
#define afb_daemon_rootdir_get_fd	afb_daemon_rootdir_get_fd_v1
#define afb_daemon_rootdir_open_locale	afb_daemon_rootdir_open_locale_v1
#define afb_daemon_queue_job		afb_daemon_queue_job_v1
#define afb_daemon_require_api		afb_daemon_require_api_v1
#define afb_daemon_rename_api		afb_daemon_add_alias_v1

#define afb_service_call		afb_service_call_v1
#define afb_service_call_sync		afb_service_call_sync_v1

# define AFB_ERROR			AFB_ERROR_V1
# define AFB_WARNING			AFB_WARNING_V1
# define AFB_NOTICE			AFB_NOTICE_V1
# define AFB_INFO			AFB_INFO_V1
# define AFB_DEBUG			AFB_DEBUG_V1

# define AFB_REQ_ERROR			AFB_REQ_ERROR_V1
# define AFB_REQ_WARNING		AFB_REQ_WARNING_V1
# define AFB_REQ_NOTICE			AFB_REQ_NOTICE_V1
# define AFB_REQ_INFO			AFB_REQ_INFO_V1
# define AFB_REQ_DEBUG			AFB_REQ_DEBUG_V1

#define AFB_REQ_VERBOSE			AFB_REQ_VERBOSE_V1

# define AFB_SESSION_NONE		AFB_SESSION_NONE_X1
# define AFB_SESSION_CREATE		AFB_SESSION_CREATE_X1
# define AFB_SESSION_CLOSE		AFB_SESSION_CLOSE_X1
# define AFB_SESSION_RENEW		AFB_SESSION_RENEW_X1
# define AFB_SESSION_CHECK		AFB_SESSION_CHECK_X1

# define AFB_SESSION_LOA_GE		AFB_SESSION_LOA_GE_X1
# define AFB_SESSION_LOA_LE		AFB_SESSION_LOA_LE_X1
# define AFB_SESSION_LOA_EQ		AFB_SESSION_LOA_EQ_X1

# define AFB_SESSION_LOA_SHIFT		AFB_SESSION_LOA_SHIFT_X1
# define AFB_SESSION_LOA_MASK		AFB_SESSION_LOA_MASK_X1

# define AFB_SESSION_LOA_0		AFB_SESSION_LOA_0_X1
# define AFB_SESSION_LOA_1		AFB_SESSION_LOA_1_X1
# define AFB_SESSION_LOA_2		AFB_SESSION_LOA_2_X1
# define AFB_SESSION_LOA_3		AFB_SESSION_LOA_3_X1
# define AFB_SESSION_LOA_4		AFB_SESSION_LOA_4_X1

# define AFB_SESSION_LOA_LE_0		AFB_SESSION_LOA_LE_0_X1
# define AFB_SESSION_LOA_LE_1		AFB_SESSION_LOA_LE_1_X1
# define AFB_SESSION_LOA_LE_2		AFB_SESSION_LOA_LE_2_X1
# define AFB_SESSION_LOA_LE_3		AFB_SESSION_LOA_LE_3_X1

# define AFB_SESSION_LOA_EQ_0		AFB_SESSION_LOA_EQ_0_X1
# define AFB_SESSION_LOA_EQ_1		AFB_SESSION_LOA_EQ_1_X1
# define AFB_SESSION_LOA_EQ_2		AFB_SESSION_LOA_EQ_2_X1
# define AFB_SESSION_LOA_EQ_3		AFB_SESSION_LOA_EQ_3_X1

# define AFB_SESSION_LOA_GE_0		AFB_SESSION_LOA_GE_0_X1
# define AFB_SESSION_LOA_GE_1		AFB_SESSION_LOA_GE_1_X1
# define AFB_SESSION_LOA_GE_2		AFB_SESSION_LOA_GE_2_X1
# define AFB_SESSION_LOA_GE_3		AFB_SESSION_LOA_GE_3_X1

#endif

/******************************************************************************/
#if AFB_BINDING_VERSION == 2

#define afb_req_store			afb_req_x1_store_v2
#define afb_req_unstore			afb_daemon_unstore_req_v2

#define afb_binding			afb_binding_v2

#define afb_get_verbosity		afb_get_verbosity_v2
#define afb_get_daemon			afb_get_daemon_v2
#define afb_get_service			afb_get_service_v2

#define afb_daemon_get_event_loop	afb_daemon_get_event_loop_v2
#define afb_daemon_get_user_bus		afb_daemon_get_user_bus_v2
#define afb_daemon_get_system_bus	afb_daemon_get_system_bus_v2
#define afb_daemon_broadcast_event	afb_daemon_broadcast_event_v2
#define afb_daemon_make_event		afb_daemon_make_event_v2
#define afb_daemon_verbose		afb_daemon_verbose_v2
#define afb_daemon_rootdir_get_fd	afb_daemon_rootdir_get_fd_v2
#define afb_daemon_rootdir_open_locale	afb_daemon_rootdir_open_locale_v2
#define afb_daemon_queue_job		afb_daemon_queue_job_v2
#define afb_daemon_unstore_req		afb_daemon_unstore_req_v2
#define afb_daemon_require_api		afb_daemon_require_api_v2
#define afb_daemon_rename_api(x)	afb_daemon_add_alias_v2(0,x)
#define afb_daemon_add_alias		afb_daemon_add_alias_v2

#define afb_service_call		afb_service_call_v2
#define afb_service_call_sync		afb_service_call_sync_v2

#define AFB_ERROR			AFB_ERROR_V2
#define AFB_WARNING			AFB_WARNING_V2
#define AFB_NOTICE			AFB_NOTICE_V2
#define AFB_INFO			AFB_INFO_V2
#define AFB_DEBUG			AFB_DEBUG_V2

#define AFB_REQ_ERROR			AFB_REQ_ERROR_V2
#define AFB_REQ_WARNING			AFB_REQ_WARNING_V2
#define AFB_REQ_NOTICE			AFB_REQ_NOTICE_V2
#define AFB_REQ_INFO			AFB_REQ_INFO_V2
#define AFB_REQ_DEBUG			AFB_REQ_DEBUG_V2

#define AFB_REQ_VERBOSE			AFB_REQ_VERBOSE_V2

#endif

/******************************************************************************/
#if AFB_BINDING_VERSION == 2 || AFB_BINDING_VERSION == 3

#define AFB_SESSION_NONE		AFB_SESSION_NONE_X2
#define AFB_SESSION_CLOSE		AFB_SESSION_CLOSE_X2
#define AFB_SESSION_RENEW		AFB_SESSION_REFRESH_X2
#define AFB_SESSION_REFRESH		AFB_SESSION_REFRESH_X2
#define AFB_SESSION_CHECK		AFB_SESSION_CHECK_X2

#define AFB_SESSION_LOA_MASK		AFB_SESSION_LOA_MASK_X2

#define AFB_SESSION_LOA_0		AFB_SESSION_LOA_0_X2
#define AFB_SESSION_LOA_1		AFB_SESSION_LOA_1_X2
#define AFB_SESSION_LOA_2		AFB_SESSION_LOA_2_X2
#define AFB_SESSION_LOA_3		AFB_SESSION_LOA_3_X2

#endif

/******************************************************************************/
#if AFB_BINDING_VERSION == 2

#define AFB_SESSION_NONE_V2		AFB_SESSION_NONE_X2
#define AFB_SESSION_CLOSE_V2		AFB_SESSION_CLOSE_X2
#define AFB_SESSION_RENEW_V2		AFB_SESSION_REFRESH_X2
#define AFB_SESSION_REFRESH_V2		AFB_SESSION_REFRESH_X2
#define AFB_SESSION_CHECK_V2		AFB_SESSION_CHECK_X2

#define AFB_SESSION_LOA_MASK_V2	AFB_SESSION_LOA_MASK_X2

#define AFB_SESSION_LOA_0_V2		AFB_SESSION_LOA_0_X2
#define AFB_SESSION_LOA_1_V2		AFB_SESSION_LOA_1_X2
#define AFB_SESSION_LOA_2_V2		AFB_SESSION_LOA_2_X2
#define AFB_SESSION_LOA_3_V2		AFB_SESSION_LOA_3_X2

#endif

/******************************************************************************/
#if AFB_BINDING_VERSION == 3

#define afb_req_x2   			afb_req

#define afb_req_x2_is_valid		afb_req_is_valid
#define afb_req_x2_get_api		afb_req_get_api
#define afb_req_x2_get_vcbdata		afb_req_get_vcbdata
#define afb_req_x2_get_called_api	afb_req_get_called_api
#define afb_req_x2_get_called_verb	afb_req_get_called_verb
#define afb_req_x2_wants_log_level	afb_req_wants_log_level

#define afb_req_x2_get			afb_req_get
#define afb_req_x2_value		afb_req_value
#define afb_req_x2_path			afb_req_path
#define afb_req_x2_json			afb_req_json
#define afb_req_x2_reply		afb_req_reply
#define afb_req_x2_reply_f		afb_req_reply_f
#define afb_req_x2_reply_v		afb_req_reply_v
#define afb_req_success(r,o,i)		afb_req_reply(r,o,0,i)
#define afb_req_success_f(r,o,...)	afb_req_reply_f(r,o,0,__VA_ARGS__)
#define afb_req_success_v(r,o,f,v)	afb_req_reply_v(r,o,0,f,v)
#define afb_req_fail(r,e,i)		afb_req_reply(r,0,e,i)
#define afb_req_fail_f(r,e,...)		afb_req_reply_f(r,0,e,__VA_ARGS__)
#define afb_req_fail_v(r,e,f,v)		afb_req_reply_v(r,0,e,f,v)
#define afb_req_x2_context_get		afb_req_context_get
#define afb_req_x2_context_set		afb_req_context_set
#define afb_req_x2_context		afb_req_context
#define afb_req_x2_context_make		afb_req_context_make
#define afb_req_x2_context_clear	afb_req_context_clear
#define afb_req_x2_addref		afb_req_addref
#define afb_req_x2_unref		afb_req_unref
#define afb_req_x2_session_close	afb_req_session_close
#define afb_req_x2_session_set_LOA	afb_req_session_set_LOA
#define afb_req_x2_subscribe		afb_req_subscribe
#define afb_req_x2_unsubscribe		afb_req_unsubscribe
#define afb_req_x2_subcall		afb_req_subcall
#define afb_req_x2_subcall_legacy	afb_req_subcall_legacy
#define afb_req_x2_subcall_req		afb_req_subcall_req
#define afb_req_x2_subcall_sync_legacy	afb_req_subcall_sync_legacy
#define afb_req_x2_subcall_sync		afb_req_subcall_sync
#define afb_req_x2_verbose		afb_req_verbose
#define afb_req_x2_has_permission	afb_req_has_permission
#define afb_req_x2_get_application_id	afb_req_get_application_id
#define afb_req_x2_get_uid		afb_req_get_uid
#define afb_req_x2_get_client_info	afb_req_get_client_info

#define afb_req_x2_subcall_flags	afb_req_subcall_flags
#define afb_req_x2_subcall_catch_events	afb_req_subcall_catch_events
#define afb_req_x2_subcall_pass_events	afb_req_subcall_pass_events
#define afb_req_x2_subcall_on_behalf	afb_req_subcall_on_behalf
#define afb_req_x2_subcall_api_session	afb_req_subcall_api_session
	
#define afb_event_x2			afb_event
#define afb_event_x2_is_valid		afb_event_is_valid
#define afb_event_x2_broadcast		afb_event_broadcast
#define afb_event_x2_push		afb_event_push
#define afb_event_x2_name		afb_event_name
#define afb_event_x2_unref		afb_event_unref
#define afb_event_x2_addref		afb_event_addref

#define afb_api_x3			afb_api

#define afb_api_x3_name			afb_api_name
#define afb_api_x3_get_userdata		afb_api_get_userdata
#define afb_api_x3_set_userdata		afb_api_set_userdata
#define afb_api_x3_wants_log_level	afb_api_wants_log_level

#define afb_api_x3_vverbose		afb_api_vverbose
#define afb_api_x3_verbose		afb_api_verbose
#define afb_api_x3_get_event_loop	afb_api_get_event_loop
#define afb_api_x3_get_user_bus		afb_api_get_user_bus
#define afb_api_x3_get_system_bus	afb_api_get_system_bus
#define afb_api_x3_rootdir_get_fd	afb_api_rootdir_get_fd
#define afb_api_x3_rootdir_open_locale	afb_api_rootdir_open_locale
#define afb_api_x3_queue_job		afb_api_queue_job
#define afb_api_x3_require_api		afb_api_require_api
#define afb_api_x3_broadcast_event	afb_api_broadcast_event
#define afb_api_x3_make_event_x2	afb_api_make_event
#define afb_api_x3_call			afb_api_call
#define afb_api_x3_call_sync		afb_api_call_sync
#define afb_api_x3_call_legacy		afb_api_call_legacy
#define afb_api_x3_call_sync_legacy	afb_api_call_sync_legacy
#define afb_api_x3_new_api		afb_api_new_api
#define afb_api_x3_delete_api		afb_api_delete_api
#define afb_api_x3_set_verbs_v2		afb_api_set_verbs_v2
#define afb_api_x3_set_verbs_v3		afb_api_set_verbs_v3
#define afb_api_x3_add_verb		afb_api_add_verb
#define afb_api_x3_del_verb		afb_api_del_verb
#define afb_api_x3_on_event		afb_api_on_event
#define afb_api_x3_on_init		afb_api_on_init
#define afb_api_x3_seal			afb_api_seal
#define afb_api_x3_add_alias		afb_api_add_alias
#define afb_api_x3_event_handler_add	afb_api_event_handler_add
#define afb_api_x3_event_handler_del	afb_api_event_handler_del
#define afb_api_x3_require_class	afb_api_require_class
#define afb_api_x3_provide_class	afb_api_provide_class
#define afb_api_x3_settings		afb_api_settings

#define AFB_API_ERROR			AFB_API_ERROR_V3
#define AFB_API_WARNING			AFB_API_WARNING_V3
#define AFB_API_NOTICE			AFB_API_NOTICE_V3
#define AFB_API_INFO			AFB_API_INFO_V3
#define AFB_API_DEBUG			AFB_API_DEBUG_V3

#define AFB_REQ_ERROR			AFB_REQ_ERROR_V3
#define AFB_REQ_WARNING			AFB_REQ_WARNING_V3
#define AFB_REQ_NOTICE			AFB_REQ_NOTICE_V3
#define AFB_REQ_INFO			AFB_REQ_INFO_V3
#define AFB_REQ_DEBUG			AFB_REQ_DEBUG_V3

#define AFB_REQ_VERBOSE			AFB_REQ_VERBOSE_V3

#define afb_stored_req 			afb_req_x2
#define afb_req_store(x) 		afb_req_x2_addref(x)
#define afb_req_unstore(x) 		(x)

#define afb_get_verbosity		afb_get_verbosity_v3
#define afb_get_logmask			afb_get_logmask_v3
#define afb_get_daemon			afb_get_root_api_v3
#define afb_get_service			afb_get_root_api_v3

#define afb_daemon_get_event_loop	afb_daemon_get_event_loop_v3
#define afb_daemon_get_user_bus		afb_daemon_get_user_bus_v3
#define afb_daemon_get_system_bus	afb_daemon_get_system_bus_v3
#define afb_daemon_broadcast_event	afb_daemon_broadcast_event_v3
#define afb_daemon_make_event		afb_daemon_make_event_v3
#define afb_daemon_verbose		afb_daemon_verbose_v3
#define afb_daemon_rootdir_get_fd	afb_daemon_rootdir_get_fd_v3
#define afb_daemon_rootdir_open_locale	afb_daemon_rootdir_open_locale_v3
#define afb_daemon_queue_job		afb_daemon_queue_job_v3
#define afb_daemon_require_api		afb_daemon_require_api_v3
#define afb_daemon_add_alias		afb_daemon_add_alias_v3

# define afb_service_call		afb_service_call_v3
# define afb_service_call_sync		afb_service_call_sync_v3
# define afb_service_call_legacy	afb_service_call_legacy_v3
# define afb_service_call_sync_legacy	afb_service_call_sync_legacy_v3

# define AFB_ERROR			AFB_ERROR_V3
# define AFB_WARNING			AFB_WARNING_V3
# define AFB_NOTICE			AFB_NOTICE_V3
# define AFB_INFO			AFB_INFO_V3
# define AFB_DEBUG			AFB_DEBUG_V3

#endif