static EDBus_Signal_Handler *state_changed2;
static Eina_Bool
-_timeout_application(void *data)
+_timeout_application(void *data EINA_UNUSED)
{
printf("\n## ecore_main_loop_quit()\n");
ecore_main_loop_quit();
}
static void
-on_get_playlists(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_get_playlists(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
EDBus_Message_Iter *array, *struct_entry;
const char *path, *name, *image;
}
static void
-iterate_dict(void *data, const void *key, EDBus_Message_Iter *var)
+iterate_dict(void *data EINA_UNUSED, const void *key, EDBus_Message_Iter *var)
{
const char *skey = key;
}
static void
-playlist_get_all_cb(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+playlist_get_all_cb(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
EDBus_Message_Iter *array;
EINA_SAFETY_ON_TRUE_RETURN(edbus_message_error_get(msg, NULL, NULL));
}
static void
-on_introspect(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_introspect(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *string;
}
static void
-on_next_or_pause(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_next_or_pause(void *data, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *status = data;
}
static void
-on_state_changed(void *data, const EDBus_Message *msg)
+on_state_changed(void *data EINA_UNUSED, const EDBus_Message *msg)
{
const char *status;
EINA_SAFETY_ON_TRUE_RETURN(edbus_message_error_get(msg, NULL, NULL));
}
static void
-on_state_changed2(void *data, const EDBus_Message *msg)
+on_state_changed2(void *data EINA_UNUSED, const EDBus_Message *msg)
{
const char *status;
EINA_SAFETY_ON_TRUE_RETURN(edbus_message_error_get(msg, NULL, NULL));
}
static void
-on_banshee_startup(void *data, const EDBus_Message *msg)
+on_banshee_startup(void *data EINA_UNUSED, const EDBus_Message *msg)
{
const char *bus, *older_id, *new_id;
}
static void
-on_name_owner_changed(void *data, const EDBus_Message *msg)
+on_name_owner_changed(void *data EINA_UNUSED, const EDBus_Message *msg)
{
const char *bus, *older_id, *new_id;
ecore_shutdown();
return 0;
}
-
#define ERR(...) EINA_LOG_DOM_ERR(_client_log_dom, __VA_ARGS__)
static void
-_on_alive(void *context, const EDBus_Message *msg)
+_on_alive(void *context EINA_UNUSED, const EDBus_Message *msg EINA_UNUSED)
{
printf("Alive\n\n");
}
static void
-_on_hello(void *context, const EDBus_Message *msg)
+_on_hello(void *context EINA_UNUSED, const EDBus_Message *msg)
{
const char *txt;
if (edbus_message_arguments_get(msg, "s", &txt))
}
static void
-_on_send_bool(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+_on_send_bool(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
Eina_Bool b;
}
static void
-_on_send_byte(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+_on_send_byte(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
uint8_t y;
}
static void
-_on_send_uint32(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+_on_send_uint32(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
unsigned int u;
}
static void
-_on_send_int32(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+_on_send_int32(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
int32_t i;
}
static void
-_on_send_int16(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+_on_send_int16(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
int16_t n;
}
static void
-_on_send_double(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+_on_send_double(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
double d;
}
static void
-_on_send_string(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+_on_send_string(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
char *s;
}
static void
-_on_async_test(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+_on_async_test(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
}
static void
-on_name_owner_changed(void *data, const char *bus, const char *old_id, const char *new_id)
+on_name_owner_changed(void *data EINA_UNUSED, const char *bus, const char *old_id, const char *new_id EINA_UNUSED)
{
printf("Bus=%s | old=%s | new=%s\n", bus, old_id, new_id);
}
static Eina_Bool
-finish(void *data)
+finish(void *data EINA_UNUSED)
{
ecore_main_loop_quit();
return ECORE_CALLBACK_CANCEL;
}
static void
-on_send_array(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_send_array(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
Eina_Value *v, array;
const char *txt;
}
static void
-on_receive_array_with_size(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_receive_array_with_size(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname;
const char *errmsg;
}
static void
-on_plus_one(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_plus_one(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
Eina_Value *v;
int num2;
}
static void
-receive_variant_cb(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+receive_variant_cb(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
Eina_Value *v, variant, array;
unsigned i;
}
static void
-_property_removed(void *data, EDBus_Proxy *proxy, void *event_info)
+_property_removed(void *data EINA_UNUSED, EDBus_Proxy *proxy EINA_UNUSED, void *event_info)
{
EDBus_Proxy_Event_Property_Removed *event = event_info;
}
static void
-_property_changed(void *data, EDBus_Proxy *proxy, void *event_info)
+_property_changed(void *data EINA_UNUSED, EDBus_Proxy *proxy EINA_UNUSED, void *event_info)
{
EDBus_Proxy_Event_Property_Changed *event = event_info;
const char *name;
static Ecore_Timer *timer;
static EDBus_Message *
-_receive_array(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_receive_array(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
EDBus_Message_Iter *array;
}
static EDBus_Message *
-_receive_array_of_string_int_with_size(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_receive_array_of_string_int_with_size(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
EDBus_Message_Iter *array, *struct_si;
}
static EDBus_Message *
-_receive_variant(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_receive_variant(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
EDBus_Message_Iter *var, *array, *main_iter;
}
static EDBus_Message *
-_send_variant(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_variant(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
EDBus_Message_Iter *variant;
}
static EDBus_Message *
-_send_array_int(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_array_int(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
EDBus_Message_Iter *iter, *array;
}
static EDBus_Message *
-_send_array(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_array(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
EDBus_Message_Iter *iter, *array;
}
static EDBus_Message *
-_plus_one(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_plus_one(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
int num;
}
static EDBus_Message *
-_double_container(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_double_container(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message_Iter *array1, *array2, *structure;
int num1, num2;
}
static Eina_Bool
-_properties_get(const EDBus_Service_Interface *iface, const char *propname, EDBus_Message_Iter *iter, const EDBus_Message *request_msg, EDBus_Message **error)
+_properties_get(const EDBus_Service_Interface *iface EINA_UNUSED, const char *propname, EDBus_Message_Iter *iter, const EDBus_Message *request_msg EINA_UNUSED, EDBus_Message **error EINA_UNUSED)
{
printf("Properties_get - %s\n", propname);
if (!strcmp(propname, "Resp2"))
}
static EDBus_Message *
-_properties_set(const EDBus_Service_Interface *iface, const char *propname, EDBus_Message_Iter *iter, const EDBus_Message *msg)
+_properties_set(const EDBus_Service_Interface *iface EINA_UNUSED, const char *propname, EDBus_Message_Iter *iter, const EDBus_Message *msg)
{
char *type;
}
static void
-on_name_request(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_name_request(void *data, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
unsigned int reply;
EDBus_Service_Interface *iface = data;
EDBus_Connection *conn;
static Eina_Bool
-_timer1_cb(void *data)
+_timer1_cb(void *data EINA_UNUSED)
{
printf("\nFishing...\n");
ecore_main_loop_quit();
}
static void
-on_plus_one(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_plus_one(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
int num2 = 0;
}
static void
-set_property_resp2(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+set_property_resp2(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname;
const char *errmsg;
}
static void
-get_property_resp2(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+get_property_resp2(void *data, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
EDBus_Proxy *proxy = data;
EDBus_Message_Iter *variant = NULL;
}
static void
-on_send_array_int(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_send_array_int(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
EDBus_Message_Iter *array = NULL;
int num;
}
static void
-on_send_array(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_send_array(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
EDBus_Message_Iter *array = NULL;
char *txt = NULL;
}
static void
-on_receive_array_with_size(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_receive_array_with_size(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname;
const char *errmsg;
}
static void
-on_send_variant(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_send_variant(void *data EINA_UNUSED, const EDBus_Message *msg EINA_UNUSED, EDBus_Pending *pending EINA_UNUSED)
{
printf("on_send_variant()\n\n");
}
static void
-on_receive_array(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_receive_array(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname;
const char *errmsg;
#include <Ecore.h>
static void
-on_services_get(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_services_get(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
EDBus_Message_Iter *array, *entry;
const char *errname, *errmsg;
#include <Ecore.h>
static void
-on_dial(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_dial(void *data EINA_UNUSED, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
const char *errname, *errmsg;
const char *call_path;
static EDBus_Connection *conn;
static EDBus_Message *
-_hello(const EDBus_Service_Interface *iface, const EDBus_Message *message)
+_hello(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *message)
{
EDBus_Message *reply = edbus_message_method_return_new(message);
edbus_message_arguments_append(reply, "s", "Hello World");
}
static EDBus_Message *
-_quit(const EDBus_Service_Interface *iface, const EDBus_Message *message)
+_quit(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *message)
{
printf("Quit\n");
ecore_main_loop_quit();
}
static EDBus_Message *
-_send_bool(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_bool(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
Eina_Bool bool;
}
static EDBus_Message *
-_send_byte(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_byte(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
unsigned char byte;
}
static EDBus_Message *
-_send_uint32(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_uint32(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
unsigned int uint32;
}
static EDBus_Message *
-_send_int32(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_int32(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
int int32;
}
static EDBus_Message *
-_send_int16(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_int16(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
short int int16;
}
static EDBus_Message *
-_send_double(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_double(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
double d;
}
static EDBus_Message *
-_send_string(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_send_string(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
const char *txt;
}
static EDBus_Message *
-_async_test(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
+_async_test(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
{
EDBus_Message *reply = edbus_message_method_return_new(msg);
printf("Received a call to AsyncTest.\n");
};
static void
-on_name_request(void *data, const EDBus_Message *msg, EDBus_Pending *pending)
+on_name_request(void *data, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
{
EDBus_Service_Interface *iface;
unsigned int reply;