A group of associated Mailboxes. More...
#include "config.h"#include <stddef.h>#include "mutt/lib.h"#include "config/lib.h"#include "account.h"#include "mailbox.h"#include "neomutt.h"
Include dependency graph for account.c:Go to the source code of this file.
Functions | |
| struct Account * | account_new (const char *name, struct ConfigSubset *sub) |
| Create a new Account. | |
| bool | account_mailbox_add (struct Account *a, struct Mailbox *m) |
| Add a Mailbox to an Account. | |
| bool | account_mailbox_remove (struct Account *a, struct Mailbox *m) |
| Remove a Mailbox from an Account. | |
| void | account_free (struct Account **ptr) |
| Free an Account. | |
A group of associated Mailboxes.
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 account.c.
| struct Account * account_new | ( | const char * | name, |
| struct ConfigSubset * | sub | ||
| ) |
Create a new Account.
| name | Name for the Account |
| sub | Parent Config Subset |
| ptr | New Account |
Definition at line 44 of file account.c.
Here is the call graph for this function:
Here is the caller graph for this function:| true | Mailbox was added |
Definition at line 67 of file account.c.
Here is the call graph for this function:
Here is the caller graph for this function:Remove a Mailbox from an Account.
| true | On success |
Definition at line 98 of file account.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void account_free | ( | struct Account ** | ptr | ) |
Free an Account.
| [out] | ptr | Account to free |
Definition at line 143 of file account.c.
Here is the call graph for this function:
Here is the caller graph for this function: