# axis2_phase.h File Reference

`#include <axis2_defines.h>`
`#include <axutil_env.h>`
`#include <axis2_handler.h>`
`#include <axis2_handler_desc.h>`
`#include <axutil_array_list.h>`
`#include <axutil_qname.h>`

Go to the source code of this file.

## Defines
#define | AXIS2_PHASE_BOTH_BEFORE_AFTER 0
#define | AXIS2_PHASE_BEFORE 1
#define | AXIS2_PHASE_AFTER 2
#define | AXIS2_PHASE_ANYWHERE 3
## Typedefs
typedef struct axis2_phase | axis2_phase_t
## Functions
AXIS2_EXTERN axis2_status_t | axis2_phase_add_handler_at (axis2_phase_t *phase, const axutil_env_t *env, const int index, axis2_handler_t *handler)
AXIS2_EXTERN axis2_status_t | axis2_phase_add_handler (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_t *handler)
AXIS2_EXTERN axis2_status_t | axis2_phase_remove_handler (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_t *handler)
AXIS2_EXTERN axis2_status_t | axis2_phase_invoke (axis2_phase_t *phase, const axutil_env_t *env, struct axis2_msg_ctx *msg_ctx)
AXIS2_EXTERN const axis2_char_t * | axis2_phase_get_name (const axis2_phase_t *phase, const axutil_env_t *env)
AXIS2_EXTERN int | axis2_phase_get_handler_count (const axis2_phase_t *phase, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t | axis2_phase_set_first_handler (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_t *handler)
AXIS2_EXTERN axis2_status_t | axis2_phase_set_last_handler (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_t *handler)
AXIS2_EXTERN axis2_status_t | axis2_phase_add_handler_desc (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_desc_t *handler_desc)
AXIS2_EXTERN axis2_status_t | axis2_phase_remove_handler_desc (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_desc_t *handler_desc)
AXIS2_EXTERN axis2_status_t | axis2_phase_insert_before (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_t *handler)
AXIS2_EXTERN axis2_status_t | axis2_phase_insert_after (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_t *handler)
AXIS2_EXTERN axis2_status_t | axis2_phase_insert_before_and_after (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_t *handler)
AXIS2_EXTERN axis2_status_t | axis2_phase_insert_handler_desc (axis2_phase_t *phase, const axutil_env_t *env, axis2_handler_desc_t *handler_desc)
AXIS2_EXTERN axutil_array_list_t * | axis2_phase_get_all_handlers (const axis2_phase_t *phase, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t | axis2_phase_invoke_start_from_handler (axis2_phase_t *phase, const axutil_env_t *env, const int paused_handler_index, struct axis2_msg_ctx *msg_ctx)
AXIS2_EXTERN void | axis2_phase_free (axis2_phase_t *phase, const axutil_env_t *env)
AXIS2_EXTERN axis2_phase_t * | axis2_phase_create (const axutil_env_t *env, const axis2_char_t *phase_name)
AXIS2_EXTERN axis2_status_t | axis2_phase_increment_ref (axis2_phase_t *phase, const axutil_env_t *env)

## Detailed Description