Skip to content

Commit b668486

Browse files
authored
Merge pull request #1839 from deltachat/tweak-nicer-configure
Tweak nicer configure
2 parents 88a4a0a + 9cf96c4 commit b668486

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

deltachat-ffi/deltachat.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,12 @@ char* dc_get_blobdir (const dc_context_t* context);
274274
* - `mail_user` = IMAP-username, guessed if left out
275275
* - `mail_pw` = IMAP-password (always needed)
276276
* - `mail_port` = IMAP-port, guessed if left out
277+
* - `mail_security`= IMAP-socket, one of @ref DC_SOCKET, defaults to #DC_SOCKET_AUTO
277278
* - `send_server` = SMTP-server, guessed if left out
278279
* - `send_user` = SMTP-user, guessed if left out
279280
* - `send_pw` = SMTP-password, guessed if left out
280281
* - `send_port` = SMTP-port, guessed if left out
282+
* - `send_security`= SMTP-socket, one of @ref DC_SOCKET, defaults to #DC_SOCKET_AUTO
281283
* - `server_flags` = IMAP-/SMTP-flags as a combination of @ref DC_LP flags, guessed if left out
282284
* - `imap_certificate_checks` = how to check IMAP certificates, one of the @ref DC_CERTCK flags, defaults to #DC_CERTCK_AUTO (0)
283285
* - `smtp_certificate_checks` = how to check SMTP certificates, one of the @ref DC_CERTCK flags, defaults to #DC_CERTCK_AUTO (0)
@@ -4167,21 +4169,22 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
41674169
*/
41684170
#define DC_MSG_VIDEOCHAT_INVITATION 70
41694171

4172+
/**
4173+
* @}
4174+
*/
4175+
41704176

41714177
/**
41724178
* @defgroup DC_SOCKET DC_SOCKET
41734179
*
41744180
* These constants configure socket security.
4181+
* To set socket security, use dc_set_config() with the keys "mail_security" and/or "send_security".
4182+
* If no socket-configuration is explicitly specified, #DC_SOCKET_AUTO is used.
41754183
*
41764184
* @addtogroup DC_SOCKET
41774185
* @{
41784186
*/
41794187

4180-
/**
4181-
* @}
4182-
*/
4183-
4184-
41854188
/**
41864189
* Choose socket security automatically.
41874190
*/
@@ -4196,7 +4199,6 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
41964199

41974200
/**
41984201
* Connect via STARTTLS.
4199-
* If this flag is set, automatic configuration is skipped.
42004202
*/
42014203
#define DC_SOCKET_STARTTLS 2
42024204

@@ -4206,7 +4208,6 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
42064208
*/
42074209
#define DC_SOCKET_PLAIN 3
42084210

4209-
42104211
/**
42114212
* @}
42124213
*/

0 commit comments

Comments
 (0)