Skip to content

Commit f194a0a

Browse files
r10sAlexander Krotov
authored and
Alexander Krotov
committed
add missing documentation bits, refine some aspects
1 parent b27eb0a commit f194a0a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deltachat-ffi/deltachat.h

Lines changed: 4 additions & 1 deletion
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)
@@ -4176,6 +4178,8 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
41764178
* @defgroup DC_SOCKET DC_SOCKET
41774179
*
41784180
* 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.
41794183
*
41804184
* @addtogroup DC_SOCKET
41814185
* @{
@@ -4195,7 +4199,6 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
41954199

41964200
/**
41974201
* Connect via STARTTLS.
4198-
* If this flag is set, automatic configuration is skipped.
41994202
*/
42004203
#define DC_SOCKET_STARTTLS 2
42014204

0 commit comments

Comments
 (0)