Function rc_filter_duplicate#
Defined in File filter.h
Function Documentation#
-
int rc_filter_duplicate(rc_filter_t *f, rc_filter_t old)#
duplicates a filter
This allocates new memory in filter f so it can be used independently from the old filter but with the same configuration.
- Parameters:
f – new filter to allocate
old – [in] old filter to copy
- Returns:
{ description_of_the_return_value }