X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Flookupapi.h;h=a3380527c5f4d5505bc7f0861e0697aba7301334;hb=9ad27f49dae5a6375d7951679c90c2e26ad82b5c;hp=03de8f6756ffaf071dc0a07ba7436c82c922c54a;hpb=bfe645c1570343d3adca657ab67998e122ca8792;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/lookupapi.h b/src/src/lookupapi.h index 03de8f675..a3380527c 100644 --- a/src/src/lookupapi.h +++ b/src/src/lookupapi.h @@ -18,23 +18,24 @@ typedef struct lookup_info { uschar *name; /* e.g. "lsearch" */ int type; /* query/singlekey/abs-file */ void *(*open)( /* open function */ - uschar *, /* file name for those that have one */ + const uschar *, /* file name for those that have one */ uschar **); /* for error message */ BOOL (*check)( /* file checking function */ void *, /* handle */ - uschar *, /* file name */ + const uschar *, /* file name */ int, /* modemask for file checking */ uid_t *, /* owners for file checking */ gid_t *, /* owngroups for file checking */ uschar **); /* for error messages */ int (*find)( /* find function */ void *, /* handle */ - uschar *, /* file name or NULL */ + const uschar *, /* file name or NULL */ const uschar *, /* key or query */ int, /* length of key or query */ uschar **, /* for returning answer */ uschar **, /* for error message */ - uint *); /* cache TTL, sconds */ + uint *, /* cache TTL, seconds */ + const uschar *); /* options */ void (*close)( /* close function */ void *); /* handle */ void (*tidy)(void); /* tidy function */