20 #ifndef FREERDP_CLIENT_CMDLINE_H
21 #define FREERDP_CLIENT_CMDLINE_H
23 #include <winpr/cmdline.h>
25 #include <freerdp/api.h>
26 #include <freerdp/types.h>
27 #include <freerdp/settings.h>
43 FREERDP_API
int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
44 int argc,
char** argv,
63 FREERDP_API
int freerdp_client_settings_parse_command_line_arguments_ex(
64 rdpSettings* settings,
int argc,
char** argv, BOOL allowUnknown,
67 void* handle_userdata);
69 FREERDP_API
int freerdp_client_settings_command_line_status_print(rdpSettings* settings,
73 freerdp_client_settings_command_line_status_print_ex(rdpSettings* settings,
int status,
74 int argc,
char** argv,
76 FREERDP_API BOOL freerdp_client_load_addins(rdpChannels* channels, rdpSettings* settings);
82 FREERDP_API
void freerdp_client_warn_unmaintained(
int argc,
char* argv[]);
88 FREERDP_API
void freerdp_client_warn_experimental(
int argc,
char* argv[]);
94 FREERDP_API
void freerdp_client_warn_deprecated(
int argc,
char* argv[]);
96 FREERDP_API BOOL freerdp_client_print_version(
void);
107 FREERDP_API BOOL freerdp_client_print_version_ex(
int argc,
char** argv);
108 FREERDP_API BOOL freerdp_client_print_buildconfig(
void);
120 FREERDP_API BOOL freerdp_client_print_buildconfig_ex(
int argc,
char** argv);
121 FREERDP_API BOOL freerdp_client_print_command_line_help(
int argc,
char** argv);
122 FREERDP_API BOOL freerdp_client_print_command_line_help_ex(
125 FREERDP_API BOOL freerdp_parse_username(
const char* username,
char** user,
char** domain);
126 FREERDP_API BOOL freerdp_parse_hostname(
const char* hostname,
char** host,
int* port);
127 FREERDP_API BOOL freerdp_set_connection_type(rdpSettings* settings, UINT32 type);
129 FREERDP_API BOOL freerdp_client_add_device_channel(rdpSettings* settings,
size_t count,
130 const char*
const* params);
131 FREERDP_API BOOL freerdp_client_add_static_channel(rdpSettings* settings,
size_t count,
132 const char*
const* params);
133 FREERDP_API BOOL freerdp_client_del_static_channel(rdpSettings* settings,
const char* name);
134 FREERDP_API BOOL freerdp_client_add_dynamic_channel(rdpSettings* settings,
size_t count,
135 const char*
const* params);
136 FREERDP_API BOOL freerdp_client_del_dynamic_channel(rdpSettings* settings,
const char* name);