Container for Accounts, Notifications. More...
#include <locale.h>#include <stdbool.h>#include <stddef.h>#include <sys/types.h>#include "account.h"#include "command.h"#include "mailbox.h"
Include dependency graph for neomutt.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | NeoMutt |
| Container for Accounts, Notifications. More... | |
Macros | |
| #define | mutt_file_fopen_masked(PATH, MODE) |
Enumerations | |
| enum | NotifyGlobal { NT_GLOBAL_STARTUP = 1 , NT_GLOBAL_SHUTDOWN , NT_GLOBAL_COMMAND } |
| Events not associated with an object. More... | |
Functions | |
| bool | neomutt_account_add (struct NeoMutt *n, struct Account *a) |
| Add an Account to the global list. | |
| bool | neomutt_account_remove (struct NeoMutt *n, const struct Account *a) |
| Remove an Account from the global list. | |
| void | neomutt_free (struct NeoMutt **ptr) |
| Free a NeoMutt. | |
| struct NeoMutt * | neomutt_new (struct ConfigSet *cs) |
| Create the main NeoMutt object. | |
| void | neomutt_mailboxlist_clear (struct MailboxList *ml) |
| Free a Mailbox List. | |
| size_t | neomutt_mailboxlist_get_all (struct MailboxList *head, struct NeoMutt *n, enum MailboxType type) |
| Get a List of all Mailboxes. | |
Variables | |
| struct NeoMutt * | NeoMutt |
| Global NeoMutt object. | |
Container for Accounts, Notifications.
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, see http://www.gnu.org/licenses/.
Definition in file neomutt.h.
| #define mutt_file_fopen_masked | ( | PATH, | |
| MODE ) |
| enum NotifyGlobal |
Events not associated with an object.
Observers of NT_GLOBAL will not be passed any Event data.
| Enumerator | |
|---|---|
| NT_GLOBAL_STARTUP | NeoMutt is initialised. |
| NT_GLOBAL_SHUTDOWN | NeoMutt is about to close. |
| NT_GLOBAL_COMMAND | A NeoMutt command. |
Add an Account to the global list.
| true | Account was added |
Definition at line 115 of file neomutt.c.
Here is the call graph for this function:
Here is the caller graph for this function:Remove an Account from the global list.
| true | Account was removed |
Definition at line 138 of file neomutt.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void neomutt_free | ( | struct NeoMutt ** | ptr | ) |
Free a NeoMutt.
| [out] | ptr | NeoMutt to free |
Definition at line 86 of file neomutt.c.
Here is the call graph for this function:
Here is the caller graph for this function:Create the main NeoMutt object.
| cs | Config Set |
| ptr | New NeoMutt |
Definition at line 50 of file neomutt.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void neomutt_mailboxlist_clear | ( | struct MailboxList * | ml | ) |
| size_t neomutt_mailboxlist_get_all | ( | struct MailboxList * | head, |
| struct NeoMutt * | n, | ||
| enum MailboxType | type ) |
Get a List of all Mailboxes.
| head | List to store the Mailboxes |
| n | NeoMutt |
| type | Type of Account to match, see MailboxType |
| num | Number of Mailboxes in the List |
Definition at line 196 of file neomutt.c.
Here is the caller graph for this function: