mirror of git://git.sysmocom.de/ofono
bluetooth: Rename & expose parse_properties
This commit is contained in:
parent
cfc9722b13
commit
6ba350cec5
|
@ -132,8 +132,7 @@ static gint property_handler_compare(gconstpointer a, gconstpointer b)
|
||||||
return strcmp(handler->property, property);
|
return strcmp(handler->property, property);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_properties_reply(DBusMessage *reply,
|
void bluetooth_parse_properties(DBusMessage *reply, const char *property, ...)
|
||||||
const char *property, ...)
|
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
GSList *prop_handlers = NULL;
|
GSList *prop_handlers = NULL;
|
||||||
|
|
|
@ -48,4 +48,4 @@ int bluetooth_send_with_reply(const char *path, const char *interface,
|
||||||
DBusPendingCallNotifyFunction cb,
|
DBusPendingCallNotifyFunction cb,
|
||||||
void *user_data, DBusFreeFunction free_func,
|
void *user_data, DBusFreeFunction free_func,
|
||||||
int timeout, int type, ...);
|
int timeout, int type, ...);
|
||||||
|
void bluetooth_parse_properties(DBusMessage *reply, const char *property, ...);
|
||||||
|
|
Loading…
Reference in New Issue