-static int get_filter_list();
-static int get_substring_filter();
-
-extern int get_ava();
-extern char *ch_malloc();
-extern char *ch_realloc();
+static int get_filter_list(Connection *conn, BerElement *ber, Filter **f, char **fstr);
+static int get_substring_filter(Connection *conn, BerElement *ber, Filter *f, char **fstr);