Added new error action to router.h, added functionality to reset error flag from DCB in handleError. Error is reset before every new routing call.
This commit is contained in:
VilhoRaatikka
2015-01-16 11:13:42 +02:00
parent c5c9165a26
commit da77da803b
3 changed files with 35 additions and 17 deletions

View File

@ -68,7 +68,8 @@ typedef void *ROUTER;
*/
typedef enum error_action {
ERRACT_NEW_CONNECTION = 0x001,
ERRACT_REPLY_CLIENT = 0x002
ERRACT_REPLY_CLIENT = 0x002,
ERRACT_RESET = 0x004
} error_action_t;