extern int match_address_list(const uschar *, BOOL, BOOL, const uschar **,
unsigned int *, int, int, const uschar **);
extern int match_address_list_basic(const uschar *, const uschar **, int);
-extern int match_check_list(const uschar **, int, tree_node **, unsigned int **,
- int(*)(void *, const uschar *, const uschar **, uschar **), void *, int,
- const uschar *, const uschar **);
-extern int match_isinlist(const uschar *, const uschar **, int, tree_node **,
- unsigned int *, int, BOOL, const uschar **);
+extern int match_check_list(const uschar * const *, int, tree_node **,
+ unsigned int **, int(*)(void *, const uschar *,
+ const uschar **, uschar **),
+ void *, int, const uschar *, const uschar **);
+extern int match_isinlist(const uschar *, const uschar * const *, int,
+ tree_node **, unsigned int *, int, BOOL, const uschar **);
extern int match_check_string(const uschar *, const uschar *, int, mcs_flags,
const uschar **);
extern BOOL readconf_depends(driver_instance *, uschar *);
extern void readconf_driver_init(driver_instance **, driver_info **, int,
void *, int, optionlist *, int, const uschar *);
-extern const uschar *readconf_find_option(void *);
+extern const uschar *readconf_find_option(const void *);
extern void readconf_main(BOOL);
extern void readconf_options_from_list(optionlist *, unsigned, const uschar *, uschar *);
extern BOOL readconf_print(const uschar *, const uschar *, BOOL);
*/
int
-match_check_list(const uschar **listptr, int sep, tree_node **anchorptr,
+match_check_list(const uschar * const * listptr, int sep, tree_node **anchorptr,
unsigned int **cache_ptr, int (*func)(void *,const uschar *,const uschar **,uschar **),
void *arg, int type, const uschar *name, const uschar **valueptr)
{
*/
int
-match_isinlist(const uschar *s, const uschar **listptr, int sep,
+match_isinlist(const uschar * s, const uschar * const * listptr, int sep,
tree_node **anchorptr,
unsigned int *cache_bits, int type, BOOL caseless, const uschar **valueptr)
{