# savan_filter_mod.h File Reference

`#include <platforms/axutil_platform_auto_sense.h>`
`#include <axutil_utils_defines.h>`
`#include <axutil_env.h>`
`#include <axis2_conf.h>`
`#include <savan_subscriber.h>`
`#include <axiom_node.h>`

Go to the source code of this file.

## Classes
struct | savan_filter_mod_ops
| Filter ops struct Encapsulator struct for ops of savan_filter_mod. More...
struct | savan_filter_mod

## Detailed Description

## Function Documentation

AXIS2_EXTERN axis2_bool_t savan_filter_mod_apply | ( | savan_filter_mod_t * | filtermod,
|  | const axutil_env_t * | env,
|  | savan_subscriber_t * | subscriber,
|  | axiom_node_t * | payload |
| ) |  |  |

Apply filter to payload.

Parameters:

  | filter |
  | env | environment object
  | subscriber | subscriber instant
  | payload | payload to which the filter is applied

Returns:
  filter apply or not

AXIS2_EXTERN savan_filter_mod_t* savan_filter_mod_create | ( | const axutil_env_t * | env,
|  | axis2_conf_t * | conf |
| ) |  |  |

Create the savan filter.

Parameters:

  | env | environment object
  | conf | axis2 configuration

Returns:
  status of the operation

AXIS2_EXTERN void savan_filter_mod_free | ( | savan_filter_mod_t * | filtermod,
|  | const axutil_env_t * | envv |
| ) |  |  |

Deallocate the filter.

Parameters:

  | filter |
  | env | environment object