POSTAL ACCOUNT RULE ACTIVATION STATUS | |
Defines the account rule activation status.
| |
| #define | ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_ALL_MASK |
| Recipients mask. | |
| #define | ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_BLOCK_LIST ((alp_postal_account_rule_activation_status_t)1<<0) |
| The block list is activated. | |
| #define | ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_GRANT_LIST ((alp_postal_account_rule_activation_status_t)1<<1) |
| The grant list is activated. | |
| #define | ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_MOVE_TO_LIST ((alp_postal_account_rule_activation_status_t)1<<2) |
| The move to list is activated. | |
| #define | ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_NONE ((alp_postal_account_rule_activation_status_t)0) |
| No rule is activated. | |
| #define | ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_NONE_MASK ((alp_postal_account_rule_activation_status_t)0) |
| None mask. | |
ALP POSTAL ACCOUNT STATUS | |
| Defines the account status provided by the ALP_POSTAL_NOTIFICATION_ACCOUNT_STATUS_CHANGE notification callback. | |
| #define | ALP_POSTAL_ACCOUNT_STATUS_CREATED ((alp_postal_account_status_t)0) |
| The account has been created. | |
| #define | ALP_POSTAL_ACCOUNT_STATUS_DELETED ((alp_postal_account_status_t)2) |
| The account has been deleted. | |
| #define | ALP_POSTAL_ACCOUNT_STATUS_UPDATED ((alp_postal_account_status_t)1) |
| The account has been updated (e.g: a property value of the account has been changed). | |
POSTAL ACCOUNT NOTIFICATIONS | |
| Defines account notifications. | |
| #define | ALP_POSTAL_NOTIFICATION_ACCOUNT_STATUS_CHANGE ALP_POSTAL_NOTIFICATION(ALP_POSTAL_SERVICE_ID_COMMON, ALP_POSTAL_SERVICE_CLASS_ID_ACCOUNT, 1) |
| Account state change. | |
POSTAL ACCOUNT PROPERTIES | |
| Defines account properties. | |
| #define | ALP_POSTAL_PROPERTY_ACCOUNT_ID ALP_POSTAL_PROPERTY_READ_ONLY(ALP_POSTAL_SERVICE_ID_COMMON, ALP_POSTAL_SERVICE_CLASS_ID_ACCOUNT, ALP_POSTAL_PROPERTY_TYPE_INT, 4) |
| The account storage identifer. | |
| #define | ALP_POSTAL_PROPERTY_ACCOUNT_MAX_ENVELOPE_STORAGE_COUNT ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_COMMON, ALP_POSTAL_SERVICE_CLASS_ID_ACCOUNT, ALP_POSTAL_PROPERTY_TYPE_INT, 3) |
| The maximum count of envelope that can be stored, unprotected Envelopes will be deleted (FIFO) if this count is reach. | |
| #define | ALP_POSTAL_PROPERTY_ACCOUNT_MAX_ENVELOPE_STORAGE_SIZE ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_COMMON, ALP_POSTAL_SERVICE_CLASS_ID_ACCOUNT, ALP_POSTAL_PROPERTY_TYPE_INT, 2) |
| The maximum storage size allowed to store envelopes, unprotected Envelopes will be deleted (FIFO) if this size is reach. | |
| #define | ALP_POSTAL_PROPERTY_ACCOUNT_NAME ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_COMMON, ALP_POSTAL_SERVICE_CLASS_ID_ACCOUNT, ALP_POSTAL_PROPERTY_TYPE_C_STRING, 1) |
| The name of the account. | |
| #define | ALP_POSTAL_PROPERTY_ACCOUNT_RULE_ACTIVATION_STATUS ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_COMMON, ALP_POSTAL_SERVICE_CLASS_ID_ACCOUNT, ALP_POSTAL_PROPERTY_TYPE_INT, 5) |
| The account rule activation status. | |
Defines | |
| #define | ALP_POSTAL_ACCOUNT_INVALID_ID ((alp_postal_account_id_t)ALP_POSTAL_INVALID_OBJECT_ID) |
| Invalid Account ID definition. | |
Typedefs | |
| typedef uint8_t | alp_postal_account_rule_activation_status_t |
| Account restriction list applying rules. | |
| typedef uint8_t | alp_postal_account_status_t |
| Account status type. | |
| typedef _AlpPostalPropertyList | AlpPostalAccount |
| Defines a Postal Account. | |
| typedef void(* | AlpPostalNotificationAccountStatusChangedCallback )(alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, alp_postal_account_status_t iAccountStatus) |
| Postal Account Status change Notification Callback. | |
Functions | |
| alp_status_t | alp_postal_account_address_rule_get_id (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, alp_postal_rule_action_t iAction, AlpPostalAddress *iAddressP, alp_postal_rule_id_t *oRuleIdP) |
| Retrieve the rule id corresponding to the given address. | |
| alp_status_t | alp_postal_account_delete (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId) |
| Delete the given account Id. | |
| alp_status_t | alp_postal_account_free (AlpPostalAccount *iAccountP) |
| Free an account. | |
| alp_status_t | alp_postal_account_get (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, AlpPostalAccount *oAccountP) |
| Get the account properties list of a stored Postal Account. | |
| alp_status_t | alp_postal_account_get_id (AlpPostalAccount *iAccountP, alp_postal_account_id_t *oAccountIdP) |
| Get the id of an account structure provided by the server, otherwise id won't exist. | |
| alp_status_t | alp_postal_account_get_next_rule (AlpPostalEnumerator *iEnumeratorP, AlpPostalRule *oRuleP) |
| Return the next rule in enumerator. | |
| alp_status_t | alp_postal_account_get_property (AlpPostalAccount *iAccountP, alp_postal_property_id_t iPropertyId, AlpPostalProperty **oAccountPropertyP) |
| Retrieve a property from a Postal Account. | |
| alp_status_t | alp_postal_account_get_root_folder (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, alp_postal_folder_id_t *oFolderIdP) |
| Get the root folder Id of the given account Id. | |
| alp_status_t | alp_postal_account_get_rule_enumerator (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, alp_postal_rule_action_t iAction, AlpPostalEnumerator *ioEnumeratorP) |
| Get an enumerator of the rule list. | |
| alp_status_t | alp_postal_account_get_session_id (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, alp_postal_session_id_t *oSessionIdP) |
| Return the unique session id associated with the given account id. | |
| alp_status_t | alp_postal_account_get_special_folder (alp_postal_service_id_t iServiceId, alp_postal_session_id_t iAccountId, alp_postal_folder_type_t iFolderType, alp_postal_folder_id_t *oFolderIdP) |
| Get a special folder id of an account. | |
| alp_status_t | alp_postal_account_init (AlpPostalAccount *iAccountP) |
| Initialize an account. MUST be called before use. | |
| alp_status_t | alp_postal_account_rule_apply (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, alp_postal_folder_id_t iFolderId, alp_postal_rule_id_t iRuleId) |
| Apply a rule to the given envelope. | |
| alp_status_t | alp_postal_account_rule_search_id (alp_postal_account_id_t iAccountId, AlpPostalRule *iRuleP, alp_postal_rule_id_t *oRuleIdP) |
| Search the rule id matching the rule template into the given account. | |
| alp_status_t | alp_postal_account_rule_update (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, alp_postal_rule_id_t iRuleId, AlpPostalRule *iRuleP) |
| Update a rule. | |
| alp_status_t | alp_postal_account_save_rule (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, AlpPostalRule *iRuleP, alp_postal_rule_id_t *oRuleIdP) |
| Add an entry to the rule list for the account id. | |
| alp_status_t | alp_postal_account_set_property (AlpPostalAccount *ioAccountP, alp_postal_property_id_t iAccountPropertyId, alp_postal_property_const_value_t iAccountPropertyDataP, uint16_t iAccountPropertyDataSize) |
| Set a property to a Postal Account. | |
| alp_status_t | alp_postal_account_update (alp_postal_service_id_t iServiceId, alp_postal_account_id_t iAccountId, AlpPostalAccount *iAccountP) |
| Update the stored account specified by its unique Id. . | |
|
|
Invalid Account ID definition.
|
|
|
Value: (ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_BLOCK_LIST | \ ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_GRANT_LIST | \ ALP_POSTAL_ACCOUNT_RULE_ACTIVATION_STATUS_MOVE_TO_LIST)
|
|
|
The block list is activated.
|
|
|
The grant list is activated.
|
|
|
The move to list is activated.
|
|
|
No rule is activated.
|
|
|
None mask.
|
|
|
The account has been created.
|
|
|
The account has been deleted.
|
|
|
The account has been updated (e.g: a property value of the account has been changed).
|
|
|
Account state change.
|
|
|
The account storage identifer.
|
|
|
The maximum count of envelope that can be stored, unprotected Envelopes will be deleted (FIFO) if this count is reach.
|
|
|
The maximum storage size allowed to store envelopes, unprotected Envelopes will be deleted (FIFO) if this size is reach.
|
|
|
The name of the account.
|
|
|
The account rule activation status.
|
|
|
Account restriction list applying rules.
|
|
|
Account status type.
|
|
|
Defines a Postal Account.
|
|
|
Postal Account Status change Notification Callback.
|
|
||||||||||||||||||||||||
|
Retrieve the rule id corresponding to the given address.
|
|
||||||||||||
|
Delete the given account Id.
|
|
|
Free an account.
|
|
||||||||||||||||
|
Get the account properties list of a stored Postal Account.
|
|
||||||||||||
|
Get the id of an account structure provided by the server, otherwise id won't exist.
|
|
||||||||||||
|
Return the next rule in enumerator.
|
|
||||||||||||||||
|
Retrieve a property from a Postal Account.
|
|
||||||||||||||||
|
Get the root folder Id of the given account Id.
|
|
||||||||||||||||||||
|
Get an enumerator of the rule list.
|
|
||||||||||||||||
|
Return the unique session id associated with the given account id.
|
|
||||||||||||||||||||
|
Get a special folder id of an account.
|
|
|
Initialize an account. MUST be called before use.
|
|
||||||||||||||||||||
|
Apply a rule to the given envelope.
|
|
||||||||||||||||
|
Search the rule id matching the rule template into the given account.
|
|
||||||||||||||||||||
|
Update a rule.
|
|
||||||||||||||||||||
|
Add an entry to the rule list for the account id.
|
|
||||||||||||||||||||
|
Set a property to a Postal Account.
|
|
||||||||||||||||
|
Update the stored account specified by its unique Id. .
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.