Add functions for filter configuration in the C wrapper.
Refactor the monitor_filter struct to contain case sensitivity and extended flags.