Struct
CamelProvider
Description
struct CamelProvider {
const gchar* protocol;
const gchar* name;
const gchar* description;
const gchar* domain;
CamelProviderFlags flags;
CamelProviderURLFlags url_flags;
CamelProviderConfEntry* extra_conf;
CamelProviderPortEntry* port_entries;
CamelProviderAutoDetectFunc auto_detect;
None object_types;
GList* authtypes;
GHashFunc url_hash;
GEqualFunc url_equal;
const gchar* translation_domain;
gpointer priv;
}
Structure members
protocol
- No description available.
name
- No description available.
description
- No description available.
domain
- No description available.
flags
- No description available.
url_flags
- No description available.
extra_conf
- No description available.
port_entries
- No description available.
auto_detect
- No description available.
object_types
- No description available.
authtypes
- No description available.
url_hash
- No description available.
url_equal
- No description available.
translation_domain
- No description available.
priv
- No description available.
Functions
camel_provider_get
Returns the registered CamelProvider
for protocol
, loading it
from disk if necessary. If no CamelProvider
can be found for
protocol
, or the provider module fails to load, the function
sets error
and returns NULL
.
camel_provider_init
Initialize the Camel provider system by reading in the .urls files in the provider directory and creating a hash table mapping URLs to module names.
camel_provider_list
This returns a list of available providers. If load
is TRUE
, it will
first load in all available providers that haven’t yet been loaded.
camel_provider_load
Loads the provider at path
, and calls its initialization function,
passing session
as an argument. The provider should then register
itself with session
.
Instance methods
camel_provider_auto_detect
After filling in the standard Username/Hostname/Port/Path settings
(which must be set in url
), if the provider supports it, you
may wish to have the provider auto-detect further settings based on
the aformentioned settings.