aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail.h
blob: a63ffdb4ac17dc91675c8bdb1b97439b0fff0562 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */

/*
 *  Copyright 2000, Helix Code, Inc. (http://www.helixcode.com)
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
 */

#include <gtkhtml/gtkhtml.h>
#include "camel/camel.h"
#include "composer/e-msg-composer.h"

/* FIXME FIXME FIXME this sucks sucks sucks sucks */

/* folder-browser-factory */
void           folder_browser_factory_init         (void);
BonoboControl *folder_browser_factory_new_control  (const char *uri);

/* mail-config */
void mail_config_druid (void);

/* mail-format */
void mail_format_mime_message (CamelMimeMessage *mime_message,
                   GtkHTML *html, GtkHTMLStream *stream,
                   CamelMimeMessage *root_message);

EMsgComposer *mail_generate_reply (CamelMimeMessage *mime_message,
                   gboolean to_all);

EMsgComposer *mail_generate_forward (CamelMimeMessage *mime_message,
                     gboolean forward_as_attachment,
                     gboolean keep_attachments);

/* mail-identify */
char *mail_identify_mime_part (CamelMimePart *part);

/* mail-ops */
void fetch_mail (GtkWidget *button, gpointer user_data);
void send_msg (GtkWidget *button, gpointer user_data);
void send_to_url (const char *url);
void forward_msg (GtkWidget *button, gpointer user_data);
void reply_to_sender (GtkWidget *button, gpointer user_data);
void reply_to_all (GtkWidget *button, gpointer user_data);
void delete_msg (GtkWidget *button, gpointer user_data);

void expunge_folder (BonoboUIHandler *uih, void *user_data, const char *path);
void filter_edit (BonoboUIHandler *uih, void *user_data, const char *path);
void vfolder_edit (BonoboUIHandler *uih, void *user_data, const char *path);
void providers_config (BonoboUIHandler *uih, void *user_data, const char *path);

GtkWidget *providers_config_new (void);

/* session */
void session_init (void);
void forget_passwords (BonoboUIHandler *uih, void *user_data, const char *path);
extern CamelSession *session;
-beta.2winsvega2018-11-1320-0/+2237 |\ \ | * | Fill blockchain tests.Adrian Sutton2018-11-1314-0/+1673 | * | Use '>=Constantinople' instead of '>Byzantium' to be a bit more readable that...Adrian Sutton2018-11-136-83/+10 | * | Add more dynamic argument test cases to cover non-existent accounts, precompi...Adrian Sutton2018-11-132-60/+135 | * | Add test case for a contract executing EXTCODEHASH of the account being creat...Adrian Sutton2018-11-122-0/+138 | * | Add test case for a contract executing EXTCODEHASH with a dynamic argument.Adrian Sutton2018-11-122-0/+219 | * | Add test case for a contract executing EXTCODEHASH on itself.Adrian Sutton2018-11-122-0/+205 * | | Merge pull request #546 from ajsutton/gitignore-ideaMartin Holst Swende2018-11-131-1/+2 |\ \ \ | |/ / |/| | | * | Add .idea to .gitignore.Adrian Sutton2018-11-131-1/+2 |/ / * | Merge pull request #538 from ajsutton/memory-write-testswinsvega2018-11-0916-0/+4033 |\ \ | * | Add blockchain version of new tests.Adrian Sutton2018-11-098-12/+2430 | * | Revert "Add blockchain version of stPreCompiledContracts2 tests." (to make re...Adrian Sutton2018-11-096-2406/+0 | * | Add comment to new tests explaining what they're covering.Adrian Sutton2018-11-098-30/+42 | * | Add blockchain version of stCodeCopy tests.Adrian Sutton2018-11-062-0/+872 | * | Add blockchain version of stPreCompiledContracts2 tests.Adrian Sutton2018-11-066-0/+2406 | * | Refill new test.Adrian Sutton2018-11-061-1/+1 | * | Add tests to cover cases where data is copied to a memory range longer than t...Adrian Sutton2018-11-038-0/+731 * | | Merge pull request #484 from ethereum/extcodehashwinsvega2018-11-0922-0/+6229 |\ \ \ | |_|/ |/| | | * | fill initial stExtCodeHash testsextcodehashDimitry2018-11-0918-4/+5221 | * | stExtCodeHash WIPDimitry2018-10-118-0/+1012 * | | Merge pull request #539 from ethereum/integrate-test-generation-docswinsvega2018-11-095-27/+408 |\ \ \ | |_|/ |/| | | * | Move test creation docs to testing documentationholgerd772018-11-095-27/+408 |/ / * | Merge pull request #535 from ethereum/moresstorewinsvega2018-11-0346-0/+5235 |\ \ | * | InitCollision testDimitry2018-10-259-0/+995 | * | sstore collision overwrite sstoreDimitry2018-10-2538-0/+4240 * | | Merge pull request #537 from ethereum/add-using-clients-to-docswinsvega2018-11-031-0/+12 |\ \ \ | * | | Added clients using the tests library to the READMEholgerd772018-11-021-0/+12 |/ / / * | | Merge pull request #533 from ethereum/blockchain-test-format-doc-updatesv6.0.0-beta.1winsvega2018-10-253-25/+33 |\ \ \ | |/ / |/| | | * | Some updates to test generation doc sectionholgerd772018-10-231-1/+5 | * | Added sealEngine related infos to README and blockchain test format docsholgerd772018-10-232-24/+28 |/ / * | Merge pull request #527 from ansermino/david/setupHolger Drewes2018-10-193-0/+13 |\ \ | * | Fixed namingDavid Ansermino2018-10-181-1/+1 | * | Specified dependency version ranges, added .env3 to gitignoreDavid Ansermino2018-10-182-3/+4 | * | Added requirements and setup instructionsDavid Ansermino2018-10-162-0/+12 * | | Merge pull request #529 from ethereum/moresstorewinsvega2018-10-18714-1104/+83270 |\ \ \ | * | | fill as blockchain testsDimitry2018-10-18697-829/+80569 | * | | sstore xxx testsDimitry2018-10-1817-275/+2701 |/ / / * | | Merge pull request #528 from ethereum/moresstorewinsvega2018-10-17246-397/+28122 |\ \ \ | * | | fill as blockchainDimitry2018-10-17232-315/+26508 | * | | more test scenarios around test casesDimitry2018-10-1714-82/+1614 |/ / / * | | Merge pull request #526 from ethereum/moresstorewinsvega2018-10-1628-0/+2895 |\ \ \ | |/ / |/| | | * | fill as blockchain testsDimitry2018-10-1624-74/+2158 | * | sstore refund bugDimitry2018-10-152-0/+131 | * | more sstore testsDimitry2018-10-158-0/+680 |/ / * | Merge pull request #525 from ethereum/disableEipwinsvega2018-10-13217-5313/+4815 |\ \ | * | update tests without EIP210Dimitry2018-10-12217-5313/+4815 |/ / * | Merge pull request #516 from feliam/patch-2winsvega2018-10-121-4/+4 |\ \ | * | Update vm_tests.rstfeliam2018-10-041-4/+4 * | | Merge pull request #514 from feliam/patch-1winsvega2018-10-121-1/+1 |\ \ \ | * | | Update README.mdfeliam2018-10-021-1/+1 | |/ / * | | Merge pull request #522 from ethereum/remLegacywinsvega2018-10-1228-2705/+0 |\ \ \ | * | | remove artifact testsDimitry2018-10-1128-2705/+0 |/ / / * | | Merge pull request #520 from ethereum/fixgaslimitwinsvega2018-10-1159-15842/+15842 |\ \ \ | |_|/ |/| | | * | refill wallet testsDimitry2018-10-117-8345/+8345 | * | fix wrong difficulty tests on NoProofDimitry2018-10-1152-7497/+7497 |/ / * | Merge pull request #518 from ethereum/refill2winsvega2018-10-102-9016/+29305 |\ \ | * | create difficultyConstantinople autogenerated testsDimitry2018-10-091-0/+20289 | * | regenerate difficultyTests on RopstenDimitry2018-10-091-9016/+9016 |/ / * | Merge pull request #517 from ethereum/refill2winsvega2018-10-09137-989/+989 |\ \ | * | refill badOpcodesDimitry2018-10-09123-378/+378 | * | fix wrong timestamp in testsDimitry2018-10-0914-611/+611 |/ / * | Merge pull request #511 from ethereum/refillwinsvega2018-10-05