Skip to content
Snippets Groups Projects
Commit 343c5793 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

lib-sieve: Made LDAP plugin compile properly.

LDAP storage as a plugin is still not problem-free though.
parent a86e3fd8
No related branches found
No related tags found
No related merge requests found
...@@ -22,11 +22,11 @@ noinst_HEADERS = \ ...@@ -22,11 +22,11 @@ noinst_HEADERS = \
sieve-ldap-storage.h sieve-ldap-storage.h
if LDAP_PLUGIN if LDAP_PLUGIN
sieve_plugin_LTLIBRARIES += lib10_sieve_script_ldap_plugin.la sieve_plugin_LTLIBRARIES += lib10_sieve_storage_ldap_plugin.la
lib10_sieve_script_ldap_plugin_la_LDFLAGS = -module -avoid-version lib10_sieve_storage_ldap_plugin_la_LDFLAGS = -module -avoid-version
lib10_sieve_script_ldap_plugin_la_LIBADD = $(LDAP_LIBS) lib10_sieve_storage_ldap_plugin_la_LIBADD = $(LDAP_LIBS)
lib10_sieve_script_ldap_plugin_la_DEPENDENCIES = $(LDAP_LIBS) lib10_sieve_storage_ldap_plugin_la_DEPENDENCIES = $(LDAP_LIBS)
lib10_sieve_script_ldap_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DPLUGIN_BUILD lib10_sieve_storage_ldap_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DPLUGIN_BUILD
lib10_sieve_script_ldap_plugin_la_SOURCES = $(ldap_sources) lib10_sieve_storage_ldap_plugin_la_SOURCES = $(ldap_sources)
endif endif
...@@ -189,7 +189,7 @@ void sieve_storage_ldap_plugin_load ...@@ -189,7 +189,7 @@ void sieve_storage_ldap_plugin_load
} }
} }
void sieve_script_ldap_plugin_unload void sieve_storage_ldap_plugin_unload
(struct sieve_instance *svinst ATTR_UNUSED, (struct sieve_instance *svinst ATTR_UNUSED,
void *context ATTR_UNUSED) void *context ATTR_UNUSED)
{ {
...@@ -197,12 +197,12 @@ void sieve_script_ldap_plugin_unload ...@@ -197,12 +197,12 @@ void sieve_script_ldap_plugin_unload
(svinst, &sieve_ldap_storage_plugin); (svinst, &sieve_ldap_storage_plugin);
} }
void sieve_script_ldap_plugin_init(void) void sieve_storage_ldap_plugin_init(void)
{ {
/* Nothing */ /* Nothing */
} }
void sieve_script_ldap_plugin_deinit(void) void sieve_storage_ldap_plugin_deinit(void)
{ {
/* Nothing */ /* Nothing */
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.