added const to freerdp_client_get_string_option

This commit is contained in:
Benoît LeBlanc 2013-12-06 09:14:55 -05:00
parent 9785275769
commit a86168fe8f
2 changed files with 2 additions and 2 deletions

View File

@ -1077,7 +1077,7 @@ int freerdp_client_rdp_file_set_string_option(rdpFile* file, const char* name, c
return 0;
}
char* freerdp_client_rdp_file_get_string_option(rdpFile* file, const char* name)
const char* freerdp_client_rdp_file_get_string_option(rdpFile* file, const char* name)
{
rdpFileLine* line;

View File

@ -173,7 +173,7 @@ FREERDP_API BOOL freerdp_client_write_rdp_file(const rdpFile* file, const char*
FREERDP_API size_t freerdp_client_write_rdp_file_buffer(const rdpFile* file, char* buffer, size_t size);
FREERDP_API int freerdp_client_rdp_file_set_string_option(rdpFile* file, const char* name, const char* value);
FREERDP_API char* freerdp_client_rdp_file_get_string_option(rdpFile* file, const char* name);
FREERDP_API const char* freerdp_client_rdp_file_get_string_option(rdpFile* file, const char* name);
FREERDP_API int freerdp_client_rdp_file_set_integer_option(rdpFile* file, const char* name, int value);
FREERDP_API int freerdp_client_rdp_file_get_integer_option(rdpFile* file, const char* name);