MySQL 5.7 C API Developer Guide
int
mysql_plugin_options(struct st_mysql_client_plugin *plugin,
const char *option,
const void *value)
Passes an option type and value to a plugin. This function can be called multiple times to set several options. If the plugin does not have an option handler, an error occurs.
Specify the arguments as follows:
plugin: A pointer to the plugin
structure.
option: The option to be set.
value: A pointer to the option value.