]> git.pld-linux.org Git - packages/exim-greylist-af.git/blame - exim-greylist-af-dlopen.patch
- tabs in preamble
[packages/exim-greylist-af.git] / exim-greylist-af-dlopen.patch
CommitLineData
952ff340
AM
1diff -urN exim-greylist-af-0.02.org/local_scan.c exim-greylist-af-0.02/local_scan.c
2--- exim-greylist-af-0.02.org/local_scan.c 2004-08-31 14:02:56.000000000 +0200
3+++ exim-greylist-af-0.02/local_scan.c 2005-09-01 19:59:20.716298648 +0200
4@@ -975,6 +975,22 @@
5 return to;
6 }
7
8+#ifdef DLOPEN_LOCAL_SCAN
9+/** Return the verion of the local_scan ABI, if being compiled as a .so */
10+int local_scan_version_major(void) {
11+ return(LOCAL_SCAN_ABI_VERSION_MAJOR);
12+}
13+
14+int local_scan_version_minor(void) {
15+ return(LOCAL_SCAN_ABI_VERSION_MINOR);
16+}
17+
18+/**
19+ * Left over for compatilibility with old patched exims that didn't have
20+ * a version number with minor an major. Keep in mind that it will not work
21+ * with older exim4s (I think 4.11 and above is required)
22+ */
23+#endif
24
25
26 /* End of local_scan.c */
This page took 0.113982 seconds and 4 git commands to generate.