EDataServer.SourceWebdav
Description: Reference for EDataServer.SourceWebdav

### Class

# EDataServerSourceWebdav

since: 3.6

#### Description [src]

    class EDataServer.SourceWebdav : EDataServer.SourceExtension
    {
      /* No available fields */
    }

Contains only private data that should be read and manipulated using the functions below.

Available since: 3.6

#### Hierarchy

#### Ancestors

- ESourceExtension
- GObject

#### Instance methods

###### e_source_webdav_dup_color

Thread-safe variation of e_source_webdav_get_color(). Use this function when accessing `extension` from multiple threads.

since: 3.30

###### e_source_webdav_dup_display_name

Thread-safe variation of e_source_webdav_get_display_name(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_webdav_dup_email_address

Thread-safe variation of e_source_webdav_get_email_address(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_webdav_dup_resource_path

Thread-safe variation of e_source_webdav_get_resource_path(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_webdav_dup_resource_query

Thread-safe variation of e_source_webdav_get_resource_query(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_webdav_dup_ssl_trust

Thread-safe variation of e_source_webdav_get_ssl_trust(). Use this function when accessing `extension` from multiple threads.

since: 3.8

###### e_source_webdav_dup_uri

This is a convenience function which returns a newly-allocated `GUri`, its contents assembled from the `ESourceAuthentication` extension, the `ESourceSecurity` extension, and `extension` itself. Free the returned `GUri` with g_uri_unref().

since: 3.46

###### e_source_webdav_get_avoid_ifmatch

This setting works around a bug in older Apache mod_dav versions.

since: 3.6

###### e_source_webdav_get_calendar_auto_schedule

FIXME Document me!

since: 3.6

###### e_source_webdav_get_color

Returns the last known color of a WebDAV resource as provided by the server.

since: 3.30

###### e_source_webdav_get_display_name

Returns the last known display name of a WebDAV resource, which may differ from the `ESource:display-name` property of the `ESource` to which `extension` belongs.

since: 3.6

###### e_source_webdav_get_email_address

Returns the user’s email address which can be passed to a CalDAV server if the user wishes to receive scheduling messages.

since: 3.6

###### e_source_webdav_get_limit_download_days

No description available.

since: 3.60

###### e_source_webdav_get_order

No description available.

since: 3.40

###### e_source_webdav_get_resource_path

Returns the absolute path to a resource on a WebDAV server.

since: 3.6

###### e_source_webdav_get_resource_query

Returns the URI query required to access a resource on a WebDAV server.

since: 3.6

###### e_source_webdav_get_ssl_trust

Returns an SSL/TLS certificate trust for the `extension`. The value encodes three parameters, divided by a pipe ‘|’, the first is users preference, can be one of “reject”, “accept”, “temporary-reject” and “temporary-accept”. The second is a host name for which the trust was set. Finally the last is a SHA256 hash of the certificate. This is not meant to be changed by a caller, it is supposed to be manipulated with `e_source_webdav_update_ssl_trust()` and e_source_webdav_verify_ssl_trust().

since: 3.8

###### e_source_webdav_get_ssl_trust_response

No description available.

since: 3.32

###### e_source_webdav_get_timeout

No description available.

since: 3.54

###### e_source_webdav_set_avoid_ifmatch

This setting works around a bug in older Apache mod_dav versions.

since: 3.6

###### e_source_webdav_set_calendar_auto_schedule

FIXME Document me!

since: 3.6

###### e_source_webdav_set_color

Updates the last known color of a WebDAV resource, as provided by the server.

since: 3.30

###### e_source_webdav_set_display_name

Updates the last known display name of a WebDAV resource, which may differ from the `ESource:display-name` property of the `ESource` to which `extension` belongs.

since: 3.6

###### e_source_webdav_set_email_address

Sets the user’s email address which can be passed to a CalDAV server if the user wishes to receive scheduling messages.

since: 3.6

###### e_source_webdav_set_limit_download_days

Limit how many past days can be downloaded. Zero means unlimited.

since: 3.60

###### e_source_webdav_set_order

Set the sorting order of the resource.

since: 3.40

###### e_source_webdav_set_resource_path

Sets the absolute path to a resource on a WebDAV server.

since: 3.6

###### e_source_webdav_set_resource_query

Sets the URI query required to access a resource on a WebDAV server.

since: 3.6

###### e_source_webdav_set_ssl_trust

Sets the SSL/TLS certificate trust. See `e_source_webdav_get_ssl_trust()` for more infomation about its content and how to use it.

since: 3.8

###### e_source_webdav_set_ssl_trust_response

Set the SSL trust response, as `ETrustPromptResponse`, while keeping the certificate and host information as before. The function does nothing, when none SSL trust is set or when `E_TRUST_PROMPT_RESPONSE_UNKNOWN` is used as the `response`.

since: 3.32

###### e_source_webdav_set_timeout

Set the connection timeout, in seconds.

since: 3.54

###### e_source_webdav_set_uri

This is a convenience function which propagates the components of `uri` to the `ESourceAuthentication` extension, the `ESourceSecurity` extension, and `extension` itself. (The “fragment” component of `uri` is ignored.).

since: 3.46

###### e_source_webdav_unset_temporary_ssl_trust

Unsets temporary trust set on this `extension`, but keeps it as is for other values.

since: 3.8

###### e_source_webdav_update_ssl_trust

Updates user’s response from a trust prompt, thus it is re-used the next time it’ll be needed. An #E_TRUST_PROMPT_RESPONSE_UNKNOWN is treated as a temporary reject, which means the user will be asked again.

since: 3.16

###### e_source_webdav_verify_ssl_trust

Verifies SSL/TLS trust for the given `host` and `cert`, as previously stored in the `extension` with e_source_webdav_update_ssl_trust().

##### Methods inherited from ESourceExtension (4)

###### e_source_extension_get_source

Returns the `ESource` instance to which `extension` belongs.

deprecated: 3.8 since: 3.6

###### e_source_extension_property_lock

Acquires a property lock, thus no other thread can change properties of the `extension` until the lock is released.

since: 3.18

###### e_source_extension_property_unlock

Releases a property lock, previously acquired with e_source_extension_property_lock(), thus other threads can change properties of the `extension`.

since: 3.18

###### e_source_extension_ref_source

Returns the `ESource` instance to which the `extension` belongs.

since: 3.8

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### EDataServer.SourceWebdav:avoid-ifmatch

Work around a bug in old Apache servers.

###### EDataServer.SourceWebdav:calendar-auto-schedule

Whether the server handles meeting invitations (CalDAV-only).

###### EDataServer.SourceWebdav:color

Color of the WebDAV resource.

###### EDataServer.SourceWebdav:display-name

Display name of the WebDAV resource.

###### EDataServer.SourceWebdav:email-address

The user’s email address.

###### EDataServer.SourceWebdav:limit-download-days

Limit how many past days can be downloaded. Zero means unlimited.

since: 3.60

###### EDataServer.SourceWebdav:order

A sorting order of the resource.

###### EDataServer.SourceWebdav:resource-path

Absolute path to a WebDAV resource.

###### EDataServer.SourceWebdav:resource-query

Query to access a WebDAV resource.

###### EDataServer.SourceWebdav:ssl-trust

SSL/TLS certificate trust setting, for invalid server certificates.

###### EDataServer.SourceWebdav:timeout

Connection timeout, in seconds.

###### EDataServer.SourceWebdav:uri

WebDAV service as a GUri.

##### Properties inherited from ESourceExtension (1)

###### EDataServer.SourceExtension:source

The `ESource` being extended.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct EDataServerSourceWebdavClass {
      ESourceExtensionClass parent_class;

    }

No description available.

###### Class members

`parent_class: ESourceExtensionClass`

  No description available.