Lines Matching refs:reply
42 DBusMessage *reply;
44 reply = dbus_message_new_error(message, WPAS_ERROR_INVALID_OPTS,
48 dbus_message_append_args(reply, DBUS_TYPE_STRING, &arg,
51 return reply;
56 * wpas_dbus_new_success_reply - Return a new success reply message
57 * @message: Pointer to incoming dbus message this reply refers to
61 * Convenience function to create and return a success reply message
65 DBusMessage *reply;
68 reply = dbus_message_new_method_return(message);
69 dbus_message_append_args(reply, DBUS_TYPE_UINT32, &success,
71 return reply;
94 DBusMessage *reply = NULL;
154 reply = dbus_message_new_error(message,
170 reply = dbus_message_new_method_return(message);
171 dbus_message_append_args(reply, DBUS_TYPE_OBJECT_PATH,
174 reply = dbus_message_new_error(message,
187 return reply;
190 reply = wpas_dbus_new_invalid_opts_error(message, NULL);
211 DBusMessage *reply = NULL;
216 reply = wpas_dbus_new_invalid_opts_error(message, NULL);
222 reply = wpas_dbus_new_invalid_iface_error(message);
227 reply = wpas_dbus_new_success_reply(message);
229 reply = dbus_message_new_error(message,
236 return reply;
253 DBusMessage *reply = NULL;
261 reply = wpas_dbus_new_invalid_opts_error(message, NULL);
267 reply = wpas_dbus_new_invalid_iface_error(message);
272 reply = dbus_message_new_method_return(message);
273 dbus_message_append_args(reply,
278 return reply;
295 DBusMessage *reply = NULL;
314 reply = wpas_dbus_new_success_reply(message);
316 return reply;
353 DBusMessage *reply = NULL;
359 reply = dbus_message_new_method_return(message);
360 dbus_message_iter_init_append(reply, &iter);
383 return reply;
401 DBusMessage *reply;
406 reply = dbus_message_new_method_return(message);
408 dbus_message_iter_init_append(reply, &iter);
473 return reply;
476 if (reply)
477 dbus_message_unref(reply);
495 DBusMessage *reply = NULL;
509 reply = dbus_message_new_method_return(message);
511 dbus_message_iter_init_append(reply, &iter);
761 return reply;
764 if (reply)
765 dbus_message_unref(reply);
783 DBusMessage *reply = NULL;
789 reply = dbus_message_new_error(message,
804 reply = dbus_message_new_method_return(message);
805 dbus_message_append_args(reply, DBUS_TYPE_OBJECT_PATH,
809 return reply;
825 DBusMessage *reply = NULL;
834 reply = wpas_dbus_new_invalid_opts_error(message, NULL);
841 reply = wpas_dbus_new_invalid_network_error(message);
847 reply = wpas_dbus_new_invalid_network_error(message);
854 reply = wpas_dbus_new_invalid_network_error(message);
861 reply = dbus_message_new_error(message,
871 reply = wpas_dbus_new_success_reply(message);
876 return reply;
913 DBusMessage *reply = NULL;
920 reply = wpas_dbus_new_invalid_opts_error(message, NULL);
930 reply = wpas_dbus_new_invalid_opts_error(message,
1004 reply = wpas_dbus_new_invalid_opts_error(message, entry.key);
1009 if (!reply)
1010 reply = wpas_dbus_new_success_reply(message);
1013 return reply;
1067 DBusMessage *reply = NULL;
1082 reply = wpas_dbus_new_invalid_opts_error(message,
1092 reply = wpas_dbus_new_invalid_iface_error(message);
1097 reply = wpas_dbus_new_invalid_network_error(message);
1103 reply = wpas_dbus_new_invalid_network_error(message);
1109 reply = wpas_dbus_new_invalid_network_error(message);
1117 reply = wpas_dbus_new_success_reply(message);
1122 return reply;
1157 DBusMessage *reply = NULL;
1162 reply = wpas_dbus_new_invalid_opts_error(message, NULL);
1167 reply = wpas_dbus_new_invalid_opts_error(message, NULL);
1171 reply = wpas_dbus_new_success_reply(message);
1174 return reply;
1262 DBusMessage *reply = NULL;
1265 reply = dbus_message_new_method_return(message);
1266 if (reply != NULL) {
1268 dbus_message_append_args(reply, DBUS_TYPE_STRING, &str_state,
1272 return reply;
1287 DBusMessage *reply = NULL;
1290 reply = dbus_message_new_method_return(message);
1291 if (reply != NULL) {
1292 dbus_message_append_args(reply, DBUS_TYPE_BOOLEAN, &scanning,
1299 return reply;
1317 DBusMessage *reply = NULL;
1330 reply = wpas_dbus_new_invalid_opts_error(message,
1337 reply = wpas_dbus_new_invalid_opts_error(
1344 reply = wpas_dbus_new_invalid_opts_error(
1351 reply = dbus_message_new_error(
1358 reply = dbus_message_new_error(
1371 reply = dbus_message_new_error(
1387 return reply ? reply : wpas_dbus_new_success_reply(message);