Delta Chat Core C Interface
Loading...
Searching...
No Matches
Macros
DC_PROVIDER_STATUS

These constants are used as return values for dc_provider_get_status(). More...

Macros

#define DC_PROVIDER_STATUS_BROKEN   3
 Provider is not working. More...
 
#define DC_PROVIDER_STATUS_OK   1
 Provider works out-of-the-box. More...
 
#define DC_PROVIDER_STATUS_PREPARATION   2
 Provider works, but there are preparations needed. More...
 

Detailed Description

These constants are used as return values for dc_provider_get_status().

Macro Definition Documentation

◆ DC_PROVIDER_STATUS_BROKEN

#define DC_PROVIDER_STATUS_BROKEN   3

Provider is not working.

This provider status is returned for providers that are known to not work with Delta Chat. The UI should block logging in with this provider.

More information about that is typically provided in the string returned by dc_provider_get_before_login_hints() and in the page linked by dc_provider_get_overview_page().

The status is returned by dc_provider_get_status().

◆ DC_PROVIDER_STATUS_OK

#define DC_PROVIDER_STATUS_OK   1

Provider works out-of-the-box.

This provider status is returned for provider where the login works by just entering the name or the e-mail address.

  • There is no need for the user to do any special things (enable IMAP or so) in the provider's web interface or at other places.
  • There is no need for the user to enter advanced settings; server, port etc. are known by the core.

The status is returned by dc_provider_get_status().

◆ DC_PROVIDER_STATUS_PREPARATION

#define DC_PROVIDER_STATUS_PREPARATION   2

Provider works, but there are preparations needed.

  • The user has to do some special things as "Enable IMAP in the web interface", what exactly, is described in the string returned by dc_provider_get_before_login_hints() and, typically more detailed, in the page linked by dc_provider_get_overview_page().
  • There is no need for the user to enter advanced settings; server, port etc. should be known by the core.

The status is returned by dc_provider_get_status().