Go to the first, previous, next, last section, table of contents.
/* Prefix mailbox_ is reserved */
#include <mailutils/mailbox.h>
mailbox_t
object is used to hold information and it is an opaque
data structure to the user. Functions are provided to retrieve information
from the data structure.
mailbox_t url_t -/var/mail- +---//---->/-----------------\ +-->/-----------\ ( alain ) | | url_t *-|----+ | port | ----------- | |-----------------+ | hostname | ( jakob *-)----+ | observer_t *-| | file | ----------- |-----------------+ | ... | ( jeff ) | stream_t | \-----------/ ----------- |-----------------| ( sean ) | locker_t | ---------- |-----------------| | message_t(1) | |-----------------| | message_t(2) | | ...... | | message_t(n) | \-----------------/
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
mailbox_create
allocates and initializes pmbox.
The concrete mailbox type instantiate is based on the scheme of the url name.
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
ENOMEM
mailbox_create ()
based on the environment
variable $MAIL or the string formed by
_PATH_MAILDIR/user" or $LOGNAME if user is null,
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
ENOMEM
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
ENOMEM
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
ENOMEM
0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
ENOMEM
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
stream_create
for flag's description.
The return value is 0
on success and a code number on error conditions:
EAGAIN
EINPROGRESS
EBUSY
MU_ERROR_INVALID_PARAMETER
ENOMEM
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
ENOMEM
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
auth_t
object on creation.
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
The return value is 0
on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
Go to the first, previous, next, last section, table of contents.