Provides functions and structures required for handling a client plugin. More...
Go to the source code of this file.
Data Structures | |
| struct | guac_client_plugin |
| A handle to a client plugin, containing enough information about the plugin to complete the initial protocol handshake and instantiate a new client supporting the protocol provided by the client plugin. More... | |
Functions | |
| guac_client_plugin * | guac_client_plugin_open (const char *protocol) |
| Open the plugin which provides support for the given protocol, if it exists. | |
| int | guac_client_plugin_close (guac_client_plugin *plugin) |
| Close the given plugin, releasing all associated resources. | |
| int | guac_client_plugin_init_client (guac_client_plugin *plugin, guac_client *client, int argc, char **argv) |
| Initializes the given guac_client using the initialization routine provided by the given guac_client_plugin. | |
Provides functions and structures required for handling a client plugin.
| int guac_client_plugin_close | ( | guac_client_plugin * | plugin | ) |
Close the given plugin, releasing all associated resources.
This function must be called after use of a client plugin is finished.
| plugin | The client plugin to close. |
| int guac_client_plugin_init_client | ( | guac_client_plugin * | plugin, |
| guac_client * | client, | ||
| int | argc, | ||
| char ** | argv | ||
| ) |
Initializes the given guac_client using the initialization routine provided by the given guac_client_plugin.
| plugin | The client plugin to use to initialize the new client. |
| client | The guac_client to initialize. |
| argc | The number of arguments being passed to the client. |
| argv | All arguments to be passed to the client. |
| guac_client_plugin* guac_client_plugin_open | ( | const char * | protocol | ) |
Open the plugin which provides support for the given protocol, if it exists.
| protocol | The name of the protocol to retrieve the client plugin for. |
1.8.1.2