git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lookups: fix dbmnz crash on zero-length datum. Bug 3079
[exim.git]
/
src
/
src
/
lookups
/
lf_functions.h
diff --git
a/src/src/lookups/lf_functions.h
b/src/src/lookups/lf_functions.h
index d2487d3621cd5a51be4b9344a8627ba9e06dd565..b7acbb5a9029b7ec1fb61652cae3654dfeabaf9f 100644
(file)
--- a/
src/src/lookups/lf_functions.h
+++ b/
src/src/lookups/lf_functions.h
@@
-2,17
+2,20
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 2015 */
+/* Copyright (c) University of Cambridge 1995 - 2018 */
+/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Header for the functions that are shared by the lookups */
/* Header for the functions that are shared by the lookups */
-extern int lf_check_file(int, uschar *, int, int, uid_t *, gid_t *,
+extern int lf_check_file(int,
const
uschar *, int, int, uid_t *, gid_t *,
const char *, uschar **);
const char *, uschar **);
-extern
uschar *lf_quote(uschar *, uschar *, int, uschar *, int *, int
*);
+extern
gstring *lf_quote(uschar *, uschar *, int, gstring
*);
extern int lf_sqlperform(const uschar *, const uschar *, const uschar *,
const uschar *, uschar **,
extern int lf_sqlperform(const uschar *, const uschar *, const uschar *,
const uschar *, uschar **,
- uschar **, uint *, int(*)(const uschar *, uschar *, uschar **,
- uschar **, BOOL *, uint *));
+ uschar **, uint *, const uschar *,
+ int(*)(const uschar *, uschar *, uschar **,
+ uschar **, BOOL *, uint *, const uschar *));
/* End of lf_functions.h */
/* End of lf_functions.h */