bluez5: Unify bt_register_profile_* into a single function
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Tue, 23 Apr 2013 21:21:50 +0000 (18:21 -0300)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 25 Apr 2013 08:38:11 +0000 (03:38 -0500)
commit48cb2e5249d56ddb796440cb81ce824adc8ead16
treebf6988ea0f2b53e26d06d2e991314840b7cd97a0
parent9a3cfcd109515026d82243e156bd691dc9c51aa2
bluez5: Unify bt_register_profile_* into a single function

It was a cause of confusion for little gain to have separate
functions for registering profiles with extra information, for
example "role" and "features". We remove those helper functions
in favor of a single one with more parameters, "role" and
"feature" when NULL, will be ignored.
dundee/bluez5.c
plugins/bluez5.c
plugins/bluez5.h
plugins/dun_gw_bluez5.c
plugins/hfp_ag_bluez5.c
plugins/hfp_hf_bluez5.c