@@ -274,10 +274,12 @@ char* dc_get_blobdir (const dc_context_t* context);
274
274
* - `mail_user` = IMAP-username, guessed if left out
275
275
* - `mail_pw` = IMAP-password (always needed)
276
276
* - `mail_port` = IMAP-port, guessed if left out
277
+ * - `mail_security`= IMAP-socket, one of @ref DC_SOCKET, defaults to #DC_SOCKET_AUTO
277
278
* - `send_server` = SMTP-server, guessed if left out
278
279
* - `send_user` = SMTP-user, guessed if left out
279
280
* - `send_pw` = SMTP-password, guessed if left out
280
281
* - `send_port` = SMTP-port, guessed if left out
282
+ * - `send_security`= SMTP-socket, one of @ref DC_SOCKET, defaults to #DC_SOCKET_AUTO
281
283
* - `server_flags` = IMAP-/SMTP-flags as a combination of @ref DC_LP flags, guessed if left out
282
284
* - `imap_certificate_checks` = how to check IMAP certificates, one of the @ref DC_CERTCK flags, defaults to #DC_CERTCK_AUTO (0)
283
285
* - `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);
4167
4169
*/
4168
4170
#define DC_MSG_VIDEOCHAT_INVITATION 70
4169
4171
4172
+ /**
4173
+ * @}
4174
+ */
4175
+
4170
4176
4171
4177
/**
4172
4178
* @defgroup DC_SOCKET DC_SOCKET
4173
4179
*
4174
4180
* 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.
4175
4183
*
4176
4184
* @addtogroup DC_SOCKET
4177
4185
* @{
4178
4186
*/
4179
4187
4180
- /**
4181
- * @}
4182
- */
4183
-
4184
-
4185
4188
/**
4186
4189
* Choose socket security automatically.
4187
4190
*/
@@ -4196,7 +4199,6 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
4196
4199
4197
4200
/**
4198
4201
* Connect via STARTTLS.
4199
- * If this flag is set, automatic configuration is skipped.
4200
4202
*/
4201
4203
#define DC_SOCKET_STARTTLS 2
4202
4204
@@ -4206,7 +4208,6 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
4206
4208
*/
4207
4209
#define DC_SOCKET_PLAIN 3
4208
4210
4209
-
4210
4211
/**
4211
4212
* @}
4212
4213
*/
0 commit comments