summaryrefslogtreecommitdiff
path: root/unit/test-hfp.c
diff options
context:
space:
mode:
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>2014-11-03 10:35:52 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-11-05 08:46:27 +0100
commit55f8a4f4bd26a66bd1cafecb60fc5e787e88bf0b (patch)
treee242d5ff33912cea9b6a98ed02b710162de565ce /unit/test-hfp.c
parent2e890fa8edfad7fa2d19effc85f8b26576b6775e (diff)
downloadbluez-55f8a4f4bd26a66bd1cafecb60fc5e787e88bf0b.tar.gz
shared/hfp: Rename hfp_gw_result to hfp_context
hfp_context seems to be better name for data we get in the result of HFP GW. Especially that we want to use same for HFP HF response data.
Diffstat (limited to 'unit/test-hfp.c')
-rw-r--r--unit/test-hfp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/unit/test-hfp.c b/unit/test-hfp.c
index c11a42442..6e5820443 100644
--- a/unit/test-hfp.c
+++ b/unit/test-hfp.c
@@ -206,7 +206,7 @@ static void cmd_handler(const char *command, void *user_data)
hfp_gw_send_result(context->hfp, HFP_RESULT_ERROR);
}
-static void prefix_handler(struct hfp_gw_result *result,
+static void prefix_handler(struct hfp_context *result,
enum hfp_gw_cmd_type type, void *user_data)
{
struct context *context = user_data;
@@ -358,7 +358,7 @@ static void test_fragmented(gconstpointer data)
execute_context(context);
}
-static void check_ustring_1(struct hfp_gw_result *result,
+static void check_ustring_1(struct hfp_context *result,
enum hfp_gw_cmd_type type, void *user_data)
{
struct context *context = user_data;
@@ -385,7 +385,7 @@ static void check_ustring_1(struct hfp_gw_result *result,
hfp_gw_send_result(context->hfp, HFP_RESULT_ERROR);
}
-static void check_ustring_2(struct hfp_gw_result *result,
+static void check_ustring_2(struct hfp_context *result,
enum hfp_gw_cmd_type type, void *user_data)
{
struct context *context = user_data;
@@ -405,7 +405,7 @@ static void check_ustring_2(struct hfp_gw_result *result,
hfp_gw_send_result(context->hfp, HFP_RESULT_ERROR);
}
-static void check_string_1(struct hfp_gw_result *result,
+static void check_string_1(struct hfp_context *result,
enum hfp_gw_cmd_type type, void *user_data)
{
struct context *context = user_data;
@@ -433,7 +433,7 @@ static void check_string_1(struct hfp_gw_result *result,
hfp_gw_send_result(context->hfp, HFP_RESULT_ERROR);
}
-static void check_string_2(struct hfp_gw_result *result,
+static void check_string_2(struct hfp_context *result,
enum hfp_gw_cmd_type type, void *user_data)
{
struct context *context = user_data;