mirror of
https://gitlab.kit.edu/kit/scc/sys/mail/exim-encrypt-dlfunc.git
synced 2025-12-06 10:23:55 +01:00
…
This commit is contained in:
5
src/Makefile.am
Normal file
5
src/Makefile.am
Normal file
@ -0,0 +1,5 @@
|
||||
lib_LTLIBRARIES = libexim4encrypt.la
|
||||
libexim4encrypt_la_SOURCES = exim4encrypt.c exim4encrypt.h
|
||||
libexim4encrypt_la_CPPFLAGS = -I/usr/include/exim4
|
||||
libexim4encrypt_la_LDFLAGS = -shared
|
||||
include_HEADERS = sodium.h local_scan.h
|
||||
8
src/exim4encrypt.c
Normal file
8
src/exim4encrypt.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include "exim4encrypt.h"
|
||||
|
||||
__attribute__((constructor)) static void init() {
|
||||
sodium_init();
|
||||
}
|
||||
|
||||
int dlfunction(uschar **yield, int argc, uschar *argv[]) {
|
||||
}
|
||||
9
src/exim4encrypt.h
Normal file
9
src/exim4encrypt.h
Normal file
@ -0,0 +1,9 @@
|
||||
#include <sodium.h>
|
||||
#include <local_scan.h>
|
||||
|
||||
#ifndef EXIM_ENCRYPT_LIBRARY_H
|
||||
#define EXIM_ENCRYPT_LIBRARY_H
|
||||
|
||||
|
||||
#endif //EXIM_ENCRYPT_LIBRARY_H
|
||||
|
||||
Reference in New Issue
Block a user