} while (0)
-#define RETURN_IF_DBUS_TYPE_MISMATCH(parameters, str) do { \
- DEBUG_PARAM_TYPE(parameters); \
- DEBUG_PARAMS(parameters); \
- if (g_strcmp0(g_variant_get_type_string(parameters), str)) { \
- STC_LOGE("Dbus type not matching, do not process"); \
- __STC_LOG_FUNC_EXIT__; \
- return; \
- } \
-} while (0)
-
typedef void(*dbus_dict_cb)(const char *key, GVariant *value,
void *user_data);