mirror of
https://gitlab.kit.edu/kit/scc/sys/mail/exim-encrypt-dlfunc.git
synced 2025-12-06 09:43:55 +01:00
Added missing definitions for local_scan ABI version 3 (used in Ubuntu Focal)
This commit is contained in:
@ -9,10 +9,22 @@
|
||||
/* Exim4 dlfunc API header */
|
||||
#include <local_scan.h>
|
||||
|
||||
// local_scan ABI version < 3
|
||||
#if LOCAL_SCAN_ABI_VERSION_MAJOR < 3
|
||||
#define LOCAL_SCAN
|
||||
#define store_get_untainted(size) store_get(size)
|
||||
#define store_get_tainted(size) store_get(size)
|
||||
|
||||
// local_scan ABI version == 3
|
||||
#elif LOCAL_SCAN_ABI_VERSION_MAJOR == 3
|
||||
#define DLFUNC_IMPL
|
||||
#define store_get_untainted(size) store_get(size, FALSE)
|
||||
#define store_get_tainted(size) store_get(size, TRUE)
|
||||
|
||||
# define string_copy(s) string_copy_function(s)
|
||||
extern uschar * string_copy_function(const uschar *);
|
||||
|
||||
// local_scan ABI version > 3
|
||||
#else
|
||||
#define DLFUNC_IMPL
|
||||
#define store_get_untainted(size) store_get(size, FALSE)
|
||||
|
||||
Reference in New Issue
Block a user