From 8234f4ce70dcbc10e4b4ff236d6209091dcc19e7 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 14 Nov 2017 16:18:31 +0100 Subject: [PATCH] Do not add Doxygen timestamp for now (prodoces too much noise) --- docs/Doxyfile | 4 +--- docs/html/annotated.html | 2 +- docs/html/classes.html | 2 +- docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html | 2 +- docs/html/files.html | 2 +- docs/html/functions.html | 2 +- docs/html/functions_func.html | 2 +- docs/html/functions_type.html | 2 +- docs/html/functions_vars.html | 2 +- docs/html/globals.html | 2 +- docs/html/globals_defs.html | 2 +- docs/html/index.html | 2 +- docs/html/mraheader_8h_source.html | 2 +- docs/html/mrapeerstate_8h_source.html | 2 +- docs/html/mrchat_8h_source.html | 2 +- docs/html/mrchatlist_8h_source.html | 2 +- docs/html/mrcontact_8h_source.html | 2 +- docs/html/mrdehtml_8h_source.html | 2 +- docs/html/mrevent_8h.html | 2 +- docs/html/mrevent_8h_source.html | 2 +- docs/html/mrimap_8h_source.html | 2 +- docs/html/mrjob_8h_source.html | 2 +- docs/html/mrkey_8h_source.html | 2 +- docs/html/mrkeyring_8h_source.html | 2 +- docs/html/mrloginparam_8h_source.html | 2 +- docs/html/mrmailbox_8h_source.html | 2 +- docs/html/mrmailbox__internal_8h_source.html | 2 +- docs/html/mrmimefactory_8h_source.html | 2 +- docs/html/mrmimeparser_8h_source.html | 2 +- docs/html/mrmsg_8h_source.html | 2 +- docs/html/mrosnative_8h_source.html | 2 +- docs/html/mrparam_8h_source.html | 2 +- docs/html/mrpgp_8h_source.html | 2 +- docs/html/mrpoortext_8h_source.html | 2 +- docs/html/mrsaxparser_8h_source.html | 2 +- docs/html/mrsimplify_8h_source.html | 2 +- docs/html/mrsmtp_8h_source.html | 2 +- docs/html/mrsqlite3_8h_source.html | 2 +- docs/html/mrstock_8h_source.html | 2 +- docs/html/mrtools_8h_source.html | 2 +- docs/html/structmrchat__t-members.html | 2 +- docs/html/structmrchat__t.html | 2 +- docs/html/structmrchatlist__t-members.html | 2 +- docs/html/structmrchatlist__t.html | 2 +- docs/html/structmrcontact__t-members.html | 2 +- docs/html/structmrcontact__t.html | 2 +- docs/html/structmrmailbox__t-members.html | 2 +- docs/html/structmrmailbox__t.html | 2 +- docs/html/structmrmsg__t-members.html | 2 +- docs/html/structmrmsg__t.html | 2 +- docs/html/structmrparam__t-members.html | 2 +- docs/html/structmrparam__t.html | 2 +- docs/html/structmrpoortext__t-members.html | 2 +- docs/html/structmrpoortext__t.html | 2 +- 54 files changed, 54 insertions(+), 56 deletions(-) diff --git a/docs/Doxyfile b/docs/Doxyfile index c9443e9c..8f78c6e0 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -1203,9 +1203,7 @@ HTML_COLORSTYLE_GAMMA = 80 # The default value is: NO. # This tag requires that the tag GENERATE_HTML is set to YES. -###################################################### -HTML_TIMESTAMP = YES -###################################################### +HTML_TIMESTAMP = NO # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML # documentation will contain sections that can be hidden and shown after the diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 187b3233..7476fa78 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/classes.html b/docs/html/classes.html index 1a17f00f..6e15be52 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 147078d8..e5f07256 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -99,7 +99,7 @@ Files diff --git a/docs/html/files.html b/docs/html/files.html index 85301d03..7ae6d5c5 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/functions.html b/docs/html/functions.html index fd052873..dec1324c 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -469,7 +469,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 63240bb5..5567a70e 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -383,7 +383,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/functions_type.html b/docs/html/functions_type.html index e79ab9c1..16dc554f 100644 --- a/docs/html/functions_type.html +++ b/docs/html/functions_type.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index 7f2fc113..d4c47c6c 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/globals.html b/docs/html/globals.html index 6ea969e1..ba61d911 100644 --- a/docs/html/globals.html +++ b/docs/html/globals.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/globals_defs.html b/docs/html/globals_defs.html index fb2fca2b..f9e55f01 100644 --- a/docs/html/globals_defs.html +++ b/docs/html/globals_defs.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/index.html b/docs/html/index.html index 3bebad07..b89f5173 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mraheader_8h_source.html b/docs/html/mraheader_8h_source.html index 18a52b58..df849443 100644 --- a/docs/html/mraheader_8h_source.html +++ b/docs/html/mraheader_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 #ifndef __MRAHEADER_H__
24 #define __MRAHEADER_H__
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 #include "mrkey.h"
31 
32 
36 typedef struct mraheader_t
37 {
38  char* m_addr;
39  mrkey_t* m_public_key; /* != NULL */
40  int m_prefer_encrypt; /* YES, NO or NOPREFERENCE if attribute is missing */
41 } mraheader_t;
42 
43 
44 mraheader_t* mraheader_new (); /* the returned pointer is ref'd and must be unref'd after usage */
45 mraheader_t* mraheader_new_from_imffields(const char* wanted_from, const struct mailimf_fields* mime);
46 void mraheader_empty (mraheader_t*);
47 void mraheader_unref (mraheader_t*);
48 
49 int mraheader_set_from_string (mraheader_t*, const char* header_str);
50 
51 char* mraheader_render (const mraheader_t*);
52 
53 
54 #ifdef __cplusplus
55 } /* /extern "C" */
56 #endif
57 #endif /* __MRAHEADER_H__ */
diff --git a/docs/html/mrapeerstate_8h_source.html b/docs/html/mrapeerstate_8h_source.html index ac96ecf9..4a38e818 100644 --- a/docs/html/mrapeerstate_8h_source.html +++ b/docs/html/mrapeerstate_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 #ifndef __MRAPEERSTATE_H__
24 #define __MRAPEERSTATE_H__
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 #include "mrkey.h"
31 
32 
33 typedef struct mraheader_t mraheader_t;
34 
35 
36 #define MRA_PE_NOPREFERENCE 0 /* prefer-encrypt states */
37 #define MRA_PE_MUTUAL 1
38 #define MRA_PE_GOSSIP 2
39 #define MRA_PE_RESET 20
40 
41 
45 typedef struct mrapeerstate_t
46 {
48  char* m_addr;
49  time_t m_last_seen;
50  time_t m_last_seen_autocrypt;
51  mrkey_t* m_public_key;
52  int m_prefer_encrypt;
53 
54  #define MRA_SAVE_LAST_SEEN 0x01
55  #define MRA_SAVE_ALL 0x02
56  int m_to_save;
57 } mrapeerstate_t;
58 
59 
60 mrapeerstate_t* mrapeerstate_new (); /* the returned pointer is ref'd and must be unref'd after usage */
61 void mrapeerstate_unref (mrapeerstate_t*);
62 
63 int mrapeerstate_init_from_header (mrapeerstate_t*, const mraheader_t*, time_t message_time);
64 int mrapeerstate_degrade_encryption(mrapeerstate_t*, time_t message_time);
65 int mrapeerstate_apply_header (mrapeerstate_t*, const mraheader_t*, time_t message_time); /*returns 1 on changes*/
66 
67 int mrapeerstate_load_from_db__ (mrapeerstate_t*, mrsqlite3_t*, const char* addr);
68 int mrapeerstate_save_to_db__ (const mrapeerstate_t*, mrsqlite3_t*, int create);
69 
70 
71 #ifdef __cplusplus
72 } /* /extern "C" */
73 #endif
74 #endif /* __MRAPEERSTATE_H__ */
75 
diff --git a/docs/html/mrchat_8h_source.html b/docs/html/mrchat_8h_source.html index c83b8124..074250a0 100644 --- a/docs/html/mrchat_8h_source.html +++ b/docs/html/mrchat_8h_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrchatlist_8h_source.html b/docs/html/mrchatlist_8h_source.html index 70d3fe49..66215e75 100644 --- a/docs/html/mrchatlist_8h_source.html +++ b/docs/html/mrchatlist_8h_source.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrcontact_8h_source.html b/docs/html/mrcontact_8h_source.html index 9d56443c..e2ec2ebf 100644 --- a/docs/html/mrcontact_8h_source.html +++ b/docs/html/mrcontact_8h_source.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrdehtml_8h_source.html b/docs/html/mrdehtml_8h_source.html index f7b8af67..e417b7a0 100644 --- a/docs/html/mrdehtml_8h_source.html +++ b/docs/html/mrdehtml_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 #ifndef __MRDEHTML_H__
24 #define __MRDEHTML_H__
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 /*** library-internal *********************************************************/
31 
32 char* mr_dehtml(char* buf_terminated); /* mr_dehtml() returns way too many lineends; however, an optimisation on this issue is not needed as the lineends are typically remove in further processing by the caller */
33 
34 
35 #ifdef __cplusplus
36 } /* /extern "C" */
37 #endif
38 #endif /* __MRDEHTML_H__ */
39 
diff --git a/docs/html/mrevent_8h.html b/docs/html/mrevent_8h.html index e26c91b4..d708235e 100644 --- a/docs/html/mrevent_8h.html +++ b/docs/html/mrevent_8h.html @@ -273,7 +273,7 @@ Macros diff --git a/docs/html/mrevent_8h_source.html b/docs/html/mrevent_8h_source.html index 6c3829d2..245a94d2 100644 --- a/docs/html/mrevent_8h_source.html +++ b/docs/html/mrevent_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Go to the documentation of this file.
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Contact: r10s@b44t.com, http://b44t.com
5  *
6  * This program is free software: you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License as published by the Free Software
8  * Foundation, either version 3 of the License, or (at your option) any later
9  * version.
10  *
11  * This program is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14  * details.
15  *
16  * You should have received a copy of the GNU General Public License along with
17  * this program. If not, see http://www.gnu.org/licenses/ .
18  *
19  ******************************************************************************/
20 
21 
22 #ifndef __MREVENT_H__
23 #define __MREVENT_H__
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 
44 #define MR_EVENT_INFO 100
45 
46 
55 #define MR_EVENT_WARNING 300
56 
57 
65 #define MR_EVENT_ERROR 400
66 
67 
70 #define MR_EVENT_MSGS_CHANGED 2000
71 
72 
75 #define MR_EVENT_INCOMING_MSG 2005
76 
77 
80 #define MR_EVENT_MSG_DELIVERED 2010
81 
82 
85 #define MR_EVENT_MSG_READ 2015
86 
87 
89 #define MR_EVENT_CHAT_MODIFIED 2020
90 
91 
93 #define MR_EVENT_CONTACTS_CHANGED 2030
94 
95 
98 #define MR_EVENT_CONFIGURE_ENDED 2040
99 
100 
102 #define MR_EVENT_CONFIGURE_PROGRESS 2041
103 
104 
107 #define MR_EVENT_IMEX_ENDED 2050
108 
109 
111 #define MR_EVENT_IMEX_PROGRESS 2051
112 
113 
116 #define MR_EVENT_IMEX_FILE_WRITTEN 2052
117 
118 
119 /* The following events are functions that should be provided by the frontends */
120 
121 
124 #define MR_EVENT_IS_ONLINE 2080
125 
126 
129 #define MR_EVENT_GET_STRING 2091
130 
131 
134 #define MR_EVENT_GET_QUANTITY_STRING 2092
135 
136 
139 #define MR_EVENT_HTTP_GET 2100
140 
143 #define MR_EVENT_WAKE_LOCK 2110
144 
145 
146 #ifdef __cplusplus
147 } /* /extern "C" */
148 #endif
149 #endif /* __MREVENT_H__ */
150 
diff --git a/docs/html/mrimap_8h_source.html b/docs/html/mrimap_8h_source.html index f7d3baaa..a4877520 100644 --- a/docs/html/mrimap_8h_source.html +++ b/docs/html/mrimap_8h_source.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrjob_8h_source.html b/docs/html/mrjob_8h_source.html index 9f5fe9e1..b5bd8dd0 100644 --- a/docs/html/mrjob_8h_source.html +++ b/docs/html/mrjob_8h_source.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrkey_8h_source.html b/docs/html/mrkey_8h_source.html index 4f6a5912..e6581901 100644 --- a/docs/html/mrkey_8h_source.html +++ b/docs/html/mrkey_8h_source.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrkeyring_8h_source.html b/docs/html/mrkeyring_8h_source.html index 59ae7810..2f8531fe 100644 --- a/docs/html/mrkeyring_8h_source.html +++ b/docs/html/mrkeyring_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 #ifndef __MRKEYRING_H__
24 #define __MRKEYRING_H__
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 typedef struct mrkey_t mrkey_t;
31 
32 
36 typedef struct mrkeyring_t
37 {
40  mrkey_t** m_keys;
41  int m_count;
42  int m_allocated;
43 } mrkeyring_t;
44 
45 mrkeyring_t* mrkeyring_new ();
46 void mrkeyring_unref();
47 
48 void mrkeyring_add (mrkeyring_t*, mrkey_t*); /* the reference counter of the key is increased by one */
49 
50 int mrkeyring_load_self_private_for_decrypting__(mrkeyring_t*, const char* self_addr, mrsqlite3_t* sql);
51 
52 
53 #ifdef __cplusplus
54 } /* /extern "C" */
55 #endif
56 #endif /* __MRKEYRING_H__ */
57 
diff --git a/docs/html/mrloginparam_8h_source.html b/docs/html/mrloginparam_8h_source.html index 653f3e41..247dbfaf 100644 --- a/docs/html/mrloginparam_8h_source.html +++ b/docs/html/mrloginparam_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 #ifndef __MRLOGINPARAM_H__
24 #define __MRLOGINPARAM_H__
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
33 typedef struct mrloginparam_t
34 {
37  /* IMAP/POP3 - all pointers may be NULL if unset, public read */
38  char* m_addr;
39  char* m_mail_server;
40  char* m_mail_user;
41  char* m_mail_pw;
42  uint16_t m_mail_port;
43 
44  /* SMTP - all pointers may be NULL if unset, public read */
45  char* m_send_server;
46  char* m_send_user;
47  char* m_send_pw;
48  int m_send_port;
49 
50  /* Server options*/
51  #define MR_AUTH_XOAUTH2 0x2
52  #define MR_AUTH_NORMAL 0x4
53  #define MR_AUTH_FLAGS (MR_AUTH_XOAUTH2|MR_AUTH_NORMAL) /* if none of these flags are set, the default is choosen, even if MR_NO_AUTOCONFIG is set */
54 
55  #define MR_IMAP_SOCKET_STARTTLS 0x100
56  #define MR_IMAP_SOCKET_SSL 0x200
57  #define MR_IMAP_SOCKET_PLAIN 0x400
58  #define MR_IMAP_SOCKET_FLAGS (MR_IMAP_SOCKET_STARTTLS|MR_IMAP_SOCKET_SSL|MR_IMAP_SOCKET_PLAIN) /* if none of these flags are set, the default is choosen, even if MR_NO_AUTOCONFIG is set */
59 
60  #define MR_SMTP_SOCKET_STARTTLS 0x10000
61  #define MR_SMTP_SOCKET_SSL 0x20000
62  #define MR_SMTP_SOCKET_PLAIN 0x40000
63  #define MR_SMTP_SOCKET_FLAGS (MR_SMTP_SOCKET_STARTTLS|MR_SMTP_SOCKET_SSL|MR_SMTP_SOCKET_PLAIN) /* if none of these flags are set, the default is choosen, even if MR_NO_AUTOCONFIG is set */
64 
65  #define MR_NO_EXTRA_IMAP_UPLOAD 0x2000000
66  #define MR_NO_MOVE_TO_CHATS 0x4000000
67 
68  int m_server_flags;
69 } mrloginparam_t;
70 
71 
72 mrloginparam_t* mrloginparam_new ();
73 void mrloginparam_unref (mrloginparam_t*);
74 void mrloginparam_empty (mrloginparam_t*); /* clears all data and frees its memory. All pointers are NULL after this function is called. */
75 void mrloginparam_read__ (mrloginparam_t*, mrsqlite3_t*, const char* prefix);
76 void mrloginparam_write__ (const mrloginparam_t*, mrsqlite3_t*, const char* prefix);
77 char* mrloginparam_get_readable (const mrloginparam_t*);
78 
79 
80 #ifdef __cplusplus
81 } /* /extern "C" */
82 #endif
83 #endif /* __MRLOGINPARAM_H__ */
84 
diff --git a/docs/html/mrmailbox_8h_source.html b/docs/html/mrmailbox_8h_source.html index 72fbcc83..d9901816 100644 --- a/docs/html/mrmailbox_8h_source.html +++ b/docs/html/mrmailbox_8h_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrmailbox__internal_8h_source.html b/docs/html/mrmailbox__internal_8h_source.html index a24ab125..13697de4 100644 --- a/docs/html/mrmailbox__internal_8h_source.html +++ b/docs/html/mrmailbox__internal_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 #ifndef __MRMAILBOX_INTERNAL_H__
24 #define __MRMAILBOX_INTERNAL_H__
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 /* Includes that are used frequently. This file may also be used to create predefined headers. */
31 #include "mrmailbox.h"
32 #include <stdlib.h>
33 #include <string.h>
34 #include "mrsqlite3.h"
35 #include "mrtools.h"
36 #include "mrstock.h"
37 
38 
39 #ifdef __cplusplus
40 } /* /extern "C" */
41 #endif
42 #endif /* __MRMAILBOX_INTERNAL_H__ */
43 
diff --git a/docs/html/mrmimefactory_8h_source.html b/docs/html/mrmimefactory_8h_source.html index fd0b4242..c02c94fb 100644 --- a/docs/html/mrmimefactory_8h_source.html +++ b/docs/html/mrmimefactory_8h_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrmimeparser_8h_source.html b/docs/html/mrmimeparser_8h_source.html index 133c6793..e4ac7616 100644 --- a/docs/html/mrmimeparser_8h_source.html +++ b/docs/html/mrmimeparser_8h_source.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrmsg_8h_source.html b/docs/html/mrmsg_8h_source.html index 15125c50..a873d208 100644 --- a/docs/html/mrmsg_8h_source.html +++ b/docs/html/mrmsg_8h_source.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrosnative_8h_source.html b/docs/html/mrosnative_8h_source.html index 69b31098..b296d32d 100644 --- a/docs/html/mrosnative_8h_source.html +++ b/docs/html/mrosnative_8h_source.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrparam_8h_source.html b/docs/html/mrparam_8h_source.html index 900c7b25..b2d1ad8b 100644 --- a/docs/html/mrparam_8h_source.html +++ b/docs/html/mrparam_8h_source.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrpgp_8h_source.html b/docs/html/mrpgp_8h_source.html index 2e64a7cb..07438318 100644 --- a/docs/html/mrpgp_8h_source.html +++ b/docs/html/mrpgp_8h_source.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrpoortext_8h_source.html b/docs/html/mrpoortext_8h_source.html index 315c36a8..4ec9093b 100644 --- a/docs/html/mrpoortext_8h_source.html +++ b/docs/html/mrpoortext_8h_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrsaxparser_8h_source.html b/docs/html/mrsaxparser_8h_source.html index 355764e4..c82cea25 100644 --- a/docs/html/mrsaxparser_8h_source.html +++ b/docs/html/mrsaxparser_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 #ifndef __MRSAXPARSER_H__
24 #define __MRSAXPARSER_H__
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 typedef void (*mrsaxparser_starttag_cb_t) (void* userdata, const char* tag, char** attr);
31 typedef void (*mrsaxparser_endtag_cb_t) (void* userdata, const char* tag);
32 typedef void (*mrsaxparser_text_cb_t) (void* userdata, const char* text, int len); /* len is only informational, text is already null-terminated */
33 
34 
35 typedef struct mrsaxparser_t
36 {
37  mrsaxparser_starttag_cb_t m_starttag_cb;
38  mrsaxparser_endtag_cb_t m_endtag_cb;
39  mrsaxparser_text_cb_t m_text_cb;
40  void* m_userdata;
41 } mrsaxparser_t;
42 
43 
44 void mrsaxparser_init (mrsaxparser_t*, void* userData);
45 void mrsaxparser_set_tag_handler (mrsaxparser_t*, mrsaxparser_starttag_cb_t, mrsaxparser_endtag_cb_t);
46 void mrsaxparser_set_text_handler (mrsaxparser_t*, mrsaxparser_text_cb_t);
47 
48 void mrsaxparser_parse (mrsaxparser_t*, const char* text);
49 
50 const char* mrattr_find (char** attr, const char* key);
51 
52 
53 /*** library-private **********************************************************/
54 
55 
56 #ifdef __cplusplus
57 } /* /extern "C" */
58 #endif
59 #endif /* __MRSAXPARSER_H__ */
60 
diff --git a/docs/html/mrsimplify_8h_source.html b/docs/html/mrsimplify_8h_source.html index 98e1bbfb..f39b4f4e 100644 --- a/docs/html/mrsimplify_8h_source.html +++ b/docs/html/mrsimplify_8h_source.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 #ifndef __MRSIMPLIFY_H__
24 #define __MRSIMPLIFY_H__
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 /*** library-private **********************************************************/
31 
32 typedef struct mrsimplify_t
33 {
34  int m_is_forwarded;
35 } mrsimplify_t;
36 
37 
38 mrsimplify_t* mrsimplify_new ();
39 void mrsimplify_unref (mrsimplify_t*);
40 
41 /* Simplify and normalise text: Remove quotes, signatures, unnecessary
42 lineends etc.
43 The data returned from Simplify() must be free()'d when no longer used, private */
44 char* mrsimplify_simplify (mrsimplify_t*, const char* txt_unterminated, int txt_bytes, int is_html);
45 
46 
47 #ifdef __cplusplus
48 } /* /extern "C" */
49 #endif
50 #endif /* __MRSIMPLIFY_H__ */
51 
diff --git a/docs/html/mrsmtp_8h_source.html b/docs/html/mrsmtp_8h_source.html index efd4a970..8ad139ef 100644 --- a/docs/html/mrsmtp_8h_source.html +++ b/docs/html/mrsmtp_8h_source.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrsqlite3_8h_source.html b/docs/html/mrsqlite3_8h_source.html index cdde7755..94fd4d0c 100644 --- a/docs/html/mrsqlite3_8h_source.html +++ b/docs/html/mrsqlite3_8h_source.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrstock_8h_source.html b/docs/html/mrstock_8h_source.html index 991bd721..b5005f11 100644 --- a/docs/html/mrstock_8h_source.html +++ b/docs/html/mrstock_8h_source.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/mrtools_8h_source.html b/docs/html/mrtools_8h_source.html index 1755168d..163bc4a5 100644 --- a/docs/html/mrtools_8h_source.html +++ b/docs/html/mrtools_8h_source.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/structmrchat__t-members.html b/docs/html/structmrchat__t-members.html index 5b14c51b..97a2ff7c 100644 --- a/docs/html/structmrchat__t-members.html +++ b/docs/html/structmrchat__t-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/structmrchat__t.html b/docs/html/structmrchat__t.html index 722c227c..2392009b 100644 --- a/docs/html/structmrchat__t.html +++ b/docs/html/structmrchat__t.html @@ -270,7 +270,7 @@ char *  diff --git a/docs/html/structmrchatlist__t-members.html b/docs/html/structmrchatlist__t-members.html index c680d17c..d7c67275 100644 --- a/docs/html/structmrchatlist__t-members.html +++ b/docs/html/structmrchatlist__t-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/structmrchatlist__t.html b/docs/html/structmrchatlist__t.html index 8ce3ae23..29906645 100644 --- a/docs/html/structmrchatlist__t.html +++ b/docs/html/structmrchatlist__t.html @@ -333,7 +333,7 @@ Public Attributes diff --git a/docs/html/structmrcontact__t-members.html b/docs/html/structmrcontact__t-members.html index 124b7dd1..52cb9da2 100644 --- a/docs/html/structmrcontact__t-members.html +++ b/docs/html/structmrcontact__t-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/structmrcontact__t.html b/docs/html/structmrcontact__t.html index b950667b..a0fd97ad 100644 --- a/docs/html/structmrcontact__t.html +++ b/docs/html/structmrcontact__t.html @@ -235,7 +235,7 @@ char *  diff --git a/docs/html/structmrmailbox__t-members.html b/docs/html/structmrmailbox__t-members.html index 075dbc09..2e1ced80 100644 --- a/docs/html/structmrmailbox__t-members.html +++ b/docs/html/structmrmailbox__t-members.html @@ -157,7 +157,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/structmrmailbox__t.html b/docs/html/structmrmailbox__t.html index a445cbe0..0b19b144 100644 --- a/docs/html/structmrmailbox__t.html +++ b/docs/html/structmrmailbox__t.html @@ -2712,7 +2712,7 @@ void *  diff --git a/docs/html/structmrmsg__t-members.html b/docs/html/structmrmsg__t-members.html index 12a8c9c5..827f4942 100644 --- a/docs/html/structmrmsg__t-members.html +++ b/docs/html/structmrmsg__t-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/structmrmsg__t.html b/docs/html/structmrmsg__t.html index 83b0a7bd..6efe9cb5 100644 --- a/docs/html/structmrmsg__t.html +++ b/docs/html/structmrmsg__t.html @@ -538,7 +538,7 @@ char *  diff --git a/docs/html/structmrparam__t-members.html b/docs/html/structmrparam__t-members.html index 4aa9c926..fa76cad5 100644 --- a/docs/html/structmrparam__t-members.html +++ b/docs/html/structmrparam__t-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/structmrparam__t.html b/docs/html/structmrparam__t.html index 0833ce19..8d6e3be5 100644 --- a/docs/html/structmrparam__t.html +++ b/docs/html/structmrparam__t.html @@ -408,7 +408,7 @@ Public Member Functions diff --git a/docs/html/structmrpoortext__t-members.html b/docs/html/structmrpoortext__t-members.html index 9b99c5cc..7540d5de 100644 --- a/docs/html/structmrpoortext__t-members.html +++ b/docs/html/structmrpoortext__t-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/html/structmrpoortext__t.html b/docs/html/structmrpoortext__t.html index bdd796cf..434c72a5 100644 --- a/docs/html/structmrpoortext__t.html +++ b/docs/html/structmrpoortext__t.html @@ -237,7 +237,7 @@ Public Attributes