[client,cmdling] use a typedef for callback function

typedef freerdp_command_line_handle_option_t to have a common type for
callback functions
This commit is contained in:
akallabeth
2025-02-11 12:13:22 +01:00
parent 0c0e45c6d0
commit 9f8ed06f9a
6 changed files with 18 additions and 11 deletions

View File

@@ -72,9 +72,6 @@
#include <freerdp/log.h>
#define TAG CLIENT_TAG("common.cmdline")
typedef int (*freerdp_command_line_handle_option_t)(const COMMAND_LINE_ARGUMENT_A* arg,
void* custom);
static const char str_force[] = "force";
static const char* option_starts_with(const char* what, const char* val);