-int rx_list_match(list2_t*, const char*); /* match all items list agains string */
-int rx_lookup(list2_t*, const char*); /* lookup pattern */
+int rx_list_match(rx_t *, const char*); /* match all items list agains string */
+int rx_list_match2(rx_t *l, const char *s, char *dst, int dlen);
+rx_t **rx_lookup(rx_t**, const char*); /* lookup pattern */
+int rx_sanitize_string(char *, ssize_t, const char *);