webdav_discover_sources_full_sync


Description:

[ CCode ( cname = "e_webdav_discover_sources_full_sync" ) ]
[ Version ( since = "3.30" ) ]
public bool webdav_discover_sources_full_sync (string? url_use_path, uint32 only_supports, NamedParameters? credentials, WebDAVDiscoverRefSourceFunc? ref_source_func, out string out_certificate_pem, out TlsCertificateFlags out_certificate_errors, out SList<WebDAVDiscoveredSource> out_discovered_sources, out SList<string> out_calendar_user_addresses, Cancellable? cancellable = null) throws Error

This is the same as webdav_discover_sources_sync, it only allows to provide a callback function (with its user_data), to reference an additional Source.

It's good to avoid creating its own SourceRegistry instance to get it.

Parameters:

url_use_path

optional URL override, or null

only_supports

bit-or of EWebDAVDiscoverSupports, to limit what type of sources to search

credentials

credentials to use for authentication to the server

ref_source_func

optional callback to use to get an ESource

out_certificate_pem

optional return location for a server SSL certificate in PEM format, when the operation failed with an SSL error

out_certificate_errors

optional TlsCertificateFlags, with certificate error flags when the operation failed with SSL error

out_discovered_sources

a SList of all discovered sources

out_calendar_user_addresses

a SList of all discovered mail addresses for calendar sources

cancellable

optional Cancellable object, or null

ref_source_func_user_data

user data for ref_source_func

source

an Source from which to take connection details

Returns:

true on success, false on failure




2022 vala-language.org