added const to freerdp_client_get_string_option
This commit is contained in:
parent
9785275769
commit
a86168fe8f
@ -1077,7 +1077,7 @@ int freerdp_client_rdp_file_set_string_option(rdpFile* file, const char* name, c
|
|||||||
return 0;
|
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;
|
rdpFileLine* line;
|
||||||
|
|
||||||
|
@ -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 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 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_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);
|
FREERDP_API int freerdp_client_rdp_file_get_integer_option(rdpFile* file, const char* name);
|
||||||
|
Loading…
Reference in New Issue
Block a user