Main Page   Compound List   File List   Compound Members   File Members  

HC_Rollback.c File Reference

#include "checkpoint_int.h"

Functions

int HC_RollBackCurrent (HC_Sequence_t *sequence)
int HC_RollBackPrev (HC_Sequence_t *sequence)
int HC_RollBackSuccess (HC_Sequence_t *sequence, long policy_data)
int HC_RollBackFail (HC_Sequence_t *sequence, long policy_data)

Detailed Description

Collection of functions relating to rolling back nodes in a sequence.


Function Documentation

int HC_RollBackCurrent HC_Sequence_t   sequence
 

Rolls back the current node.

Parameters:
sequence  Sequence object.
Returns:
An error code.

int HC_RollBackFail HC_Sequence_t   sequence,
long    policy_data
 

Called from a rollback function signifying failure in rolling back.

Parameters:
sequence  Sequence object.
policy_data  Data specific to the policy
Returns:
An error code.

int HC_RollBackPrev HC_Sequence_t   sequence
 

Rolls back the previous node.

Parameters:
sequence  Sequence object.
Returns:
An error code.

int HC_RollBackSuccess HC_Sequence_t   sequence,
long    policy_data
 

Called from a rollback function signifying success in rolling back.

Parameters:
sequence  Sequence object.
policy_data  Data specific to the policy
Returns:
An error code.


Copyright ©2003. Astra Network Inc. All Rights Reserved.