Function pfwl_set_flow_cleaner_callback¶
Defined in File peafowl.h
Function Documentation¶
-
uint8_t
pfwl_set_flow_cleaner_callback(pfwl_state_t *state, pfwl_flow_cleaner_callback_t *cleaner)¶ DEPRECATED: Please use pfwl_set_flow_termination_callback. Sets the callback that will be called when a flow expires.
- Return
0 if succeeded, 1 otherwise.
- Parameters
state: A pointer to the state of the library.cleaner: The callback used to clear the user data.