| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
|
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) |
\-----------------/
|
mailbox_create allocates and initializes mbox.
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_ERR_OUT_PTR_NULL
NULL.
MU_ERR_NO_HANDLER
EINVAL
ENOMEM
mailbox_create() based on the environment
variable MAIL or the string formed by
_PATH_MAILDIR/user" or LOGNAME if user is null,
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
NULL or flag is invalid.
ENOMEM
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL or msgno is invalid.
ENOMEM
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL or message is invalid.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
ENOMEM
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
ENOMEM
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
ENOMEM
The return value is 0 on success and a code number on error conditions:
MU_ERROR_INVALID_PARAMETER
NULL.
ENOMEM
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |