Main Page Compound List File List Compound Members File Members

# HC_Normal.c File Reference

`#include "checkpoint_int.h"`

## Functions
int | HC_Normal (HC_Sequence_t *sequence, long node, void *userdata)
int | HC_NormalCurrent (HC_Sequence_t *sequence, void *userdata)
int | HC_NormalSuccess (HC_Sequence_t *sequence, long policy_data)
int | HC_NormalFail (HC_Sequence_t *sequence, long policy_data)

## Detailed Description

Functions relating to the operation of a nodes Normal function.

## Function Documentation

int HC_Normal | ( | HC_Sequence_t * | sequence,
|  | long | node,
|  | void * | userdata
| ) |

  | Transition forward to a new node. Parameters:
  sequence | A sequence object.
  node | The node to transition to.
  userdata | User specific data.
Returns: An error value.

int HC_NormalCurrent | ( | HC_Sequence_t * | sequence,
|  | void * | userdata
| ) |

  | Rerun the normal function for the current node. Parameters:
  sequence | A sequence object.
  userdata | User specific data.
Returns: An error value.

int HC_NormalFail | ( | HC_Sequence_t * | sequence,
|  | long | policy_data
| ) |

  | Called from a normal function signifying failure. Parameters:
  sequence | Sequence object.
  policy_data | Data specific to the policy
Returns: An error code.

int HC_NormalSuccess | ( | HC_Sequence_t * | sequence,
|  | long | policy_data
| ) |

  | Called from a normal function signifying success. Parameters:
  sequence | Sequence object.
  policy_data | Data specific to the policy
Returns: An error code.

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