This also renames the "message" command to "show message".
assert (client != NULL);
assert (message != NULL);
- ply_boot_client_queue_request (client, PLY_BOOT_PROTOCOL_REQUEST_TYPE_MESSAGE,
+ ply_boot_client_queue_request (client, PLY_BOOT_PROTOCOL_REQUEST_TYPE_SHOW_MESSAGE,
message, handler, failed_handler, user_data);
}
#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_PASSWORD "*"
#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_CACHED_PASSWORD "c"
#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_QUESTION "W"
-#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_MESSAGE "M"
+#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_SHOW_MESSAGE "M"
+#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_HIDE_MESSAGE "m"
#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_KEYSTROKE "K"
#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_KEYSTROKE_REMOVE "L"
#define PLY_BOOT_PROTOCOL_REQUEST_TYPE_PROGRESS_PAUSE "A"
free(command);
return;
}
- else if (strcmp (command, PLY_BOOT_PROTOCOL_REQUEST_TYPE_MESSAGE) == 0)
+ else if (strcmp (command, PLY_BOOT_PROTOCOL_REQUEST_TYPE_SHOW_MESSAGE) == 0)
{
ply_trace ("got message request");
if (server->display_message_handler != NULL)