Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
globus_i_ftp_client_plugin_t Struct Reference

FTP Client Plugin.Each plugin implementation should define a method for initializing one of these structures. Plugins may be implemented as either a static function table, or a specialized plugin with plugin-specific attributes. More...

#include <globus_i_ftp_client.h>

Data Fields

char * plugin_name
 
globus_ftp_client_plugin_tplugin
 
globus_ftp_client_plugin_copy_t copy_func
 
globus_ftp_client_plugin_destroy_t destroy_func
 
globus_ftp_client_plugin_command_mask_t command_mask
 
void * plugin_specific
 

Detailed Description

FTP Client Plugin.

Each plugin implementation should define a method for initializing one of these structures. Plugins may be implemented as either a static function table, or a specialized plugin with plugin-specific attributes.

Each plugin function may be either GLOBUS_NULL, or a valid function pointer. If the function is GLOBUS_NULL, then the plugin will not be notified when the corresponding event happens.

Examples:
globus_ftp_client_debug_plugin.example, and globus_ftp_client_restart_plugin.example.

Field Documentation

globus_ftp_client_plugin_command_mask_t globus_i_ftp_client_plugin_t::command_mask

Command Mask

The bits set in this mask determine which command responses the plugin is interested in. The command_mask should be a bitwise-or of the values in the globus_ftp_client_plugin_command_mask_t enumeration.

globus_ftp_client_plugin_copy_t globus_i_ftp_client_plugin_t::copy_func

Plugin function pointers.

globus_ftp_client_plugin_destroy_t globus_i_ftp_client_plugin_t::destroy_func

Plugin function pointers.

globus_ftp_client_plugin_t* globus_i_ftp_client_plugin_t::plugin

The value the user/plugin implementation passed into the plugin handling parts of the API.

char* globus_i_ftp_client_plugin_t::plugin_name

Plugin name.

The plugin name is used by the FTP Client library to detect multiple instances of the same plugin being associated with a globus_ftp_client_handleattr_t or globus_ftp_client_handle_t.

Each plugin type should have a unique plugin name, which must be a NULL-terminated string of arbitrary length.

void* globus_i_ftp_client_plugin_t::plugin_specific

This pointer is reserved for plugin-specific data


The documentation for this struct was generated from the following file: