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

Flags for configuring IMAP and SMTP servers. More...

Macros

#define DC_LP_AUTH_NORMAL   0x4
 Force NORMAL authorization, this is the default. More...
 
#define DC_LP_AUTH_OAUTH2   0x2
 Force OAuth2 authorization. More...
 

Detailed Description

Flags for configuring IMAP and SMTP servers.

These flags are optional and may be set together with the username, password etc. via dc_set_config() using the key "server_flags".

Macro Definition Documentation

◆ DC_LP_AUTH_NORMAL

#define DC_LP_AUTH_NORMAL   0x4

Force NORMAL authorization, this is the default.

If this flag is set, automatic configuration is skipped.

◆ DC_LP_AUTH_OAUTH2

#define DC_LP_AUTH_OAUTH2   0x2

Force OAuth2 authorization.

This flag does not skip automatic configuration. Before calling dc_configure() with DC_LP_AUTH_OAUTH2 set, the user has to confirm access at the URL returned by dc_get_oauth2_url().