mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 02:29:28 +02:00
comment
This commit is contained in:
parent
64c598c6fa
commit
583733b742
3 changed files with 6 additions and 3 deletions
|
@ -215,6 +215,9 @@ int main(int argc, char ** argv)
|
||||||
char* cmd = NULL;
|
char* cmd = NULL;
|
||||||
dc_context_t* context = dc_context_new(receive_event, NULL, "CLI");
|
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. */
|
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) */
|
/* open database from the commandline (if omitted, it can be opened using the `open`-command) */
|
||||||
|
|
|
@ -444,7 +444,7 @@ cleanup:
|
||||||
* Decode non-ascii-strings as `=?UTF-8?Q?Bj=c3=b6rn_Petersen?=`.
|
* Decode non-ascii-strings as `=?UTF-8?Q?Bj=c3=b6rn_Petersen?=`.
|
||||||
* Belongs to RFC 2047: https://tools.ietf.org/html/rfc2047
|
* 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.
|
* @return Returns the null-terminated decoded string as UTF-8. Must be free()'d when no longed needed.
|
||||||
* On errors, NULL is returned.
|
* 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.
|
* 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.
|
* @return Null-terminated decoded UTF-8 string. Must be free()'d after usage.
|
||||||
* Halts the program on memory allocation errors,
|
* Halts the program on memory allocation errors,
|
||||||
* for all other errors, an empty string is returned or just the given string is returned.
|
* for all other errors, an empty string is returned or just the given string is returned.
|
||||||
|
|
|
@ -1433,7 +1433,7 @@ void dc_make_rel_path(dc_context_t* context, char** path)
|
||||||
* Copy a file to the blob directory, if needed.
|
* Copy a file to the blob directory, if needed.
|
||||||
*
|
*
|
||||||
* @param context The context object as returned from dc_context_new().
|
* @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`.
|
* starting with `$BLOBDIR`.
|
||||||
* @return 1=success file may or may not be copied, 0=error
|
* @return 1=success file may or may not be copied, 0=error
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue