1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 10:39:27 +02:00
This commit is contained in:
B. Petersen 2018-09-20 21:55:00 +02:00
parent 64c598c6fa
commit 583733b742
3 changed files with 6 additions and 3 deletions

View file

@ -215,6 +215,9 @@ int main(int argc, char ** argv)
char* cmd = NULL;
dc_context_t* context = dc_context_new(receive_event, NULL, "CLI");
return;
dc_cmdline_skip_auth(context); /* disable the need to enter the command `auth <password>` for all mailboxes. */
/* open database from the commandline (if omitted, it can be opened using the `open`-command) */

View file

@ -444,7 +444,7 @@ cleanup:
* Decode non-ascii-strings as `=?UTF-8?Q?Bj=c3=b6rn_Petersen?=`.
* Belongs to RFC 2047: https://tools.ietf.org/html/rfc2047
*
* @param to_encode String to decode.
* @param in String to decode.
* @return Returns the null-terminated decoded string as UTF-8. Must be free()'d when no longed needed.
* On errors, NULL is returned.
*/
@ -829,7 +829,7 @@ char* dc_encode_ext_header(const char* to_encode)
/**
* Decode an extended-header-format strings to UTF-8.
*
* @param to_encode Null-terminated string to decode
* @param to_decode Null-terminated string to decode
* @return Null-terminated decoded UTF-8 string. Must be free()'d after usage.
* Halts the program on memory allocation errors,
* for all other errors, an empty string is returned or just the given string is returned.

View file

@ -1433,7 +1433,7 @@ void dc_make_rel_path(dc_context_t* context, char** path)
* Copy a file to the blob directory, if needed.
*
* @param context The context object as returned from dc_context_new().
* @param path[in,out] The path, may be modified to a relative path
* @param[in,out] path The path, may be modified to a relative path
* starting with `$BLOBDIR`.
* @return 1=success file may or may not be copied, 0=error
*/