Comply with naming convention of message processors.

This commit is contained in:
Michael Jumper 2013-07-30 15:31:42 -07:00
parent d877e1f236
commit e238df9581
7 changed files with 40 additions and 37 deletions

View File

@ -159,7 +159,7 @@ void guac_rdpdr_fs_process_close(guac_rdpdr_device* device,
} }
void guac_rdpdr_fs_volume_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_volume_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id) { int completion_id) {
int fs_information_class, length; int fs_information_class, length;
@ -177,23 +177,23 @@ void guac_rdpdr_fs_volume_info(guac_rdpdr_device* device, wStream* input_stream,
switch (fs_information_class) { switch (fs_information_class) {
case FileFsVolumeInformation: case FileFsVolumeInformation:
guac_rdpdr_fs_query_volume_info(device, input_stream, completion_id); guac_rdpdr_fs_process_query_volume_info(device, input_stream, completion_id);
break; break;
case FileFsSizeInformation: case FileFsSizeInformation:
guac_rdpdr_fs_query_size_info(device, input_stream, completion_id); guac_rdpdr_fs_process_query_size_info(device, input_stream, completion_id);
break; break;
case FileFsDeviceInformation: case FileFsDeviceInformation:
guac_rdpdr_fs_query_device_info(device, input_stream, completion_id); guac_rdpdr_fs_process_query_device_info(device, input_stream, completion_id);
break; break;
case FileFsAttributeInformation: case FileFsAttributeInformation:
guac_rdpdr_fs_query_attribute_info(device, input_stream, completion_id); guac_rdpdr_fs_process_query_attribute_info(device, input_stream, completion_id);
break; break;
case FileFsFullSizeInformation: case FileFsFullSizeInformation:
guac_rdpdr_fs_query_full_size_info(device, input_stream, completion_id); guac_rdpdr_fs_process_query_full_size_info(device, input_stream, completion_id);
break; break;
default: default:
@ -203,7 +203,7 @@ void guac_rdpdr_fs_volume_info(guac_rdpdr_device* device, wStream* input_stream,
} }
void guac_rdpdr_fs_file_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_file_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id) { int file_id, int completion_id) {
int fs_information_class, length; int fs_information_class, length;
@ -221,15 +221,18 @@ void guac_rdpdr_fs_file_info(guac_rdpdr_device* device, wStream* input_stream,
switch (fs_information_class) { switch (fs_information_class) {
case FileBasicInformation: case FileBasicInformation:
guac_rdpdr_fs_query_basic_info(device, input_stream, file_id, completion_id); guac_rdpdr_fs_process_query_basic_info(device, input_stream,
file_id, completion_id);
break; break;
case FileStandardInformation: case FileStandardInformation:
guac_rdpdr_fs_query_standard_info(device, input_stream, file_id, completion_id); guac_rdpdr_fs_process_query_standard_info(device, input_stream,
file_id, completion_id);
break; break;
case FileAttributeTagInformation: case FileAttributeTagInformation:
guac_rdpdr_fs_query_attribute_tag_info(device, input_stream, file_id, completion_id); guac_rdpdr_fs_process_query_attribute_tag_info(device, input_stream,
file_id, completion_id);
break; break;
default: default:
@ -239,13 +242,13 @@ void guac_rdpdr_fs_file_info(guac_rdpdr_device* device, wStream* input_stream,
} }
void guac_rdpdr_fs_set_volume_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_set_volume_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id) { int file_id, int completion_id) {
/* STUB */ /* STUB */
guac_client_log_info(device->rdpdr->client, "STUB: %s", __func__); guac_client_log_info(device->rdpdr->client, "STUB: %s", __func__);
} }
void guac_rdpdr_fs_set_file_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_set_file_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id) { int file_id, int completion_id) {
/* STUB */ /* STUB */
guac_client_log_info(device->rdpdr->client, "STUB: %s", __func__); guac_client_log_info(device->rdpdr->client, "STUB: %s", __func__);

View File

@ -64,16 +64,16 @@ void guac_rdpdr_fs_process_write(guac_rdpdr_device* device,
void guac_rdpdr_fs_process_close(guac_rdpdr_device* device, void guac_rdpdr_fs_process_close(guac_rdpdr_device* device,
wStream* input_stream, int file_id, int completion_id); wStream* input_stream, int file_id, int completion_id);
void guac_rdpdr_fs_volume_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_volume_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id); int completion_id);
void guac_rdpdr_fs_set_volume_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_set_volume_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id); int file_id, int completion_id);
void guac_rdpdr_fs_file_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_file_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id); int file_id, int completion_id);
void guac_rdpdr_fs_set_file_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_set_file_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id); int file_id, int completion_id);
void guac_rdpdr_fs_process_device_control(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_device_control(guac_rdpdr_device* device, wStream* input_stream,

View File

@ -52,7 +52,7 @@
#include <freerdp/utils/svc_plugin.h> #include <freerdp/utils/svc_plugin.h>
void guac_rdpdr_fs_query_basic_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_basic_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id) { int file_id, int completion_id) {
wStream* output_stream = Stream_New(NULL, 60); wStream* output_stream = Stream_New(NULL, 60);
@ -79,14 +79,14 @@ void guac_rdpdr_fs_query_basic_info(guac_rdpdr_device* device, wStream* input_st
} }
void guac_rdpdr_fs_query_standard_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_standard_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id) { int file_id, int completion_id) {
/* STUB */ /* STUB */
guac_client_log_error(device->rdpdr->client, guac_client_log_error(device->rdpdr->client,
"Unimplemented stub: guac_rdpdr_fs_query_standard_info"); "Unimplemented stub: guac_rdpdr_fs_query_standard_info");
} }
void guac_rdpdr_fs_query_attribute_tag_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_attribute_tag_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id) { int file_id, int completion_id) {
/* STUB */ /* STUB */
guac_client_log_error(device->rdpdr->client, guac_client_log_error(device->rdpdr->client,

View File

@ -51,12 +51,12 @@
#include <freerdp/utils/svc_plugin.h> #include <freerdp/utils/svc_plugin.h>
void guac_rdpdr_fs_query_basic_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_basic_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id); int file_id, int completion_id);
void guac_rdpdr_fs_query_standard_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_standard_info(guac_rdpdr_device* device, wStream* input_stream,
int file_id, int completion_id); int file_id, int completion_id);
void guac_rdpdr_fs_query_attribute_tag_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_attribute_tag_info(guac_rdpdr_device* device,
int file_id, int completion_id); wStream* input_stream, int file_id, int completion_id);

View File

@ -51,7 +51,7 @@
#include <freerdp/utils/svc_plugin.h> #include <freerdp/utils/svc_plugin.h>
void guac_rdpdr_fs_query_volume_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_volume_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id) { int completion_id) {
wStream* output_stream = Stream_New(NULL, 38 + GUAC_FILESYSTEM_NAME_LENGTH); wStream* output_stream = Stream_New(NULL, 38 + GUAC_FILESYSTEM_NAME_LENGTH);
@ -77,28 +77,28 @@ void guac_rdpdr_fs_query_volume_info(guac_rdpdr_device* device, wStream* input_s
} }
void guac_rdpdr_fs_query_size_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_size_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id) { int completion_id) {
/* STUB */ /* STUB */
guac_client_log_error(device->rdpdr->client, guac_client_log_error(device->rdpdr->client,
"Unimplemented stub: guac_rdpdr_fs_query_size_info"); "Unimplemented stub: guac_rdpdr_fs_query_size_info");
} }
void guac_rdpdr_fs_query_device_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_device_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id) { int completion_id) {
/* STUB */ /* STUB */
guac_client_log_error(device->rdpdr->client, guac_client_log_error(device->rdpdr->client,
"Unimplemented stub: guac_rdpdr_fs_query_devive_info"); "Unimplemented stub: guac_rdpdr_fs_query_devive_info");
} }
void guac_rdpdr_fs_query_attribute_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_attribute_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id) { int completion_id) {
/* STUB */ /* STUB */
guac_client_log_error(device->rdpdr->client, guac_client_log_error(device->rdpdr->client,
"Unimplemented stub: guac_rdpdr_fs_query_attribute_info"); "Unimplemented stub: guac_rdpdr_fs_query_attribute_info");
} }
void guac_rdpdr_fs_query_full_size_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_full_size_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id) { int completion_id) {
/* STUB */ /* STUB */
guac_client_log_error(device->rdpdr->client, guac_client_log_error(device->rdpdr->client,

View File

@ -51,18 +51,18 @@
#include <freerdp/utils/svc_plugin.h> #include <freerdp/utils/svc_plugin.h>
void guac_rdpdr_fs_query_volume_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_volume_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id); int completion_id);
void guac_rdpdr_fs_query_size_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_size_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id); int completion_id);
void guac_rdpdr_fs_query_device_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_device_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id); int completion_id);
void guac_rdpdr_fs_query_attribute_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_attribute_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id); int completion_id);
void guac_rdpdr_fs_query_full_size_info(guac_rdpdr_device* device, wStream* input_stream, void guac_rdpdr_fs_process_query_full_size_info(guac_rdpdr_device* device, wStream* input_stream,
int completion_id); int completion_id);

View File

@ -99,22 +99,22 @@ static void guac_rdpdr_device_fs_iorequest_handler(guac_rdpdr_device* device,
/* Query volume (drive) information */ /* Query volume (drive) information */
case IRP_MJ_QUERY_VOLUME_INFORMATION: case IRP_MJ_QUERY_VOLUME_INFORMATION:
guac_rdpdr_fs_volume_info(device, input_stream, completion_id); guac_rdpdr_fs_process_volume_info(device, input_stream, completion_id);
break; break;
/* Set volume (drive) information */ /* Set volume (drive) information */
case IRP_MJ_SET_VOLUME_INFORMATION: case IRP_MJ_SET_VOLUME_INFORMATION:
guac_rdpdr_fs_set_volume_info(device, input_stream, file_id, completion_id); guac_rdpdr_fs_process_set_volume_info(device, input_stream, file_id, completion_id);
break; break;
/* Query file information */ /* Query file information */
case IRP_MJ_QUERY_INFORMATION: case IRP_MJ_QUERY_INFORMATION:
guac_rdpdr_fs_file_info(device, input_stream, file_id, completion_id); guac_rdpdr_fs_process_file_info(device, input_stream, file_id, completion_id);
break; break;
/* Set file information */ /* Set file information */
case IRP_MJ_SET_INFORMATION: case IRP_MJ_SET_INFORMATION:
guac_rdpdr_fs_set_file_info(device, input_stream, file_id, completion_id); guac_rdpdr_fs_process_set_file_info(device, input_stream, file_id, completion_id);
break; break;
case IRP_MJ_DIRECTORY_CONTROL: case IRP_MJ_DIRECTORY_CONTROL: