Imap-specific Mailbox data. More...
#include "config.h"
#include <stdbool.h>
#include "private.h"
#include "core/lib.h"
#include "mdata.h"
#include "hcache/lib.h"
#include "adata.h"
Go to the source code of this file.
Functions | |
void | imap_mdata_free (void **ptr) |
Free the private Mailbox data - Implements Mailbox::mdata_free() -. | |
struct ImapMboxData * | imap_mdata_get (struct Mailbox *m) |
Get the Mailbox data for this mailbox. | |
struct ImapMboxData * | imap_mdata_new (struct ImapAccountData *adata, const char *name) |
Allocate and initialise a new ImapMboxData structure. | |
Imap-specific Mailbox data.
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 mdata.c.
struct ImapMboxData * imap_mdata_get | ( | struct Mailbox * | m | ) |
Get the Mailbox data for this mailbox.
m | Mailbox |
ptr | ImapMboxData |
Definition at line 61 of file mdata.c.
struct ImapMboxData * imap_mdata_new | ( | struct ImapAccountData * | adata, |
const char * | name | ||
) |
Allocate and initialise a new ImapMboxData structure.
ptr | New ImapMboxData |
Definition at line 74 of file mdata.c.