diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index abed1e96..0b1b5601 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -132,8 +132,7 @@ static gint property_handler_compare(gconstpointer a, gconstpointer b) return strcmp(handler->property, property); } -static void parse_properties_reply(DBusMessage *reply, - const char *property, ...) +void bluetooth_parse_properties(DBusMessage *reply, const char *property, ...) { va_list args; GSList *prop_handlers = NULL; diff --git a/plugins/bluetooth.h b/plugins/bluetooth.h index 43cca995..fb0d841f 100644 --- a/plugins/bluetooth.h +++ b/plugins/bluetooth.h @@ -48,4 +48,4 @@ int bluetooth_send_with_reply(const char *path, const char *interface, DBusPendingCallNotifyFunction cb, void *user_data, DBusFreeFunction free_func, int timeout, int type, ...); - +void bluetooth_parse_properties(DBusMessage *reply, const char *property, ...);