mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 21:41:13 +00:00
migration: patch all sdp_client_query calls
This commit is contained in:
parent
8c3931c75e
commit
baebacd997
@ -87,10 +87,43 @@ expression E1, E2;
|
||||
- sdp_general_query_for_uuid(E1, E2)
|
||||
+ sdp_client_query_uuid16(sdp_client_callback, E1, E2)
|
||||
|
||||
@@
|
||||
identifier sdp_parser_register_callback.sdp_client_callback;
|
||||
expression E1, E2;
|
||||
@@
|
||||
- sdp_general_query_for_uuid128(E1, E2)
|
||||
+ sdp_client_query_uuid128(sdp_client_callback, E1, E2)
|
||||
|
||||
@@
|
||||
identifier sdp_parser_register_callback.sdp_client_callback;
|
||||
expression E1, E2, E3;
|
||||
@@
|
||||
+ sdp_client_query(E1, E2, E3)
|
||||
- sdp_client_query(sdp_client_callback, E1, E2, E3)
|
||||
|
||||
@@
|
||||
identifier sdp_parser_register_callback.sdp_client_callback;
|
||||
expression E1, E2;
|
||||
@@
|
||||
- sdp_query_rfcomm_channel_and_name_for_uuid(E1, E2)
|
||||
+ sdp_client_query_uuid16(sdp_client_callback, E1, E2)
|
||||
|
||||
@@
|
||||
identifier sdp_parser_register_callback.sdp_client_callback;
|
||||
expression E1, E2;
|
||||
@@
|
||||
- sdp_query_rfcomm_channel_and_name_for_uuid(E1, E2)
|
||||
+ sdp_query_rfcomm_channel_and_name_for_uuid(sdp_client_callback, E1, E2)
|
||||
|
||||
@@
|
||||
identifier sdp_parser_register_callback.sdp_client_callback;
|
||||
expression E1, E2;
|
||||
@@
|
||||
- sdp_query_rfcomm_channel_and_name_for_search_pattern(E1, E2)
|
||||
+ sdp_query_rfcomm_channel_and_name_for_search_pattern(sdp_client_callback, E1, E2)
|
||||
|
||||
@@
|
||||
identifier fn, event;
|
||||
identifier ve;
|
||||
identifier ce;
|
||||
typedef sdp_query_event_t;
|
||||
typedef sdp_query_attribute_value_event_t;
|
||||
typedef sdp_query_complete_event_t;
|
||||
@ -106,3 +139,5 @@ type T;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user