From eb6ebe689faa08a941bd22929ab2e3f932deee85 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 11 May 2013 10:35:33 +0200 Subject: gensec: Make gensec_interface_version public Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- auth/gensec/gensec.h | 1 + auth/gensec/gensec_start.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/auth/gensec/gensec.h b/auth/gensec/gensec.h index efbbabe171..396a16dc24 100644 --- a/auth/gensec/gensec.h +++ b/auth/gensec/gensec.h @@ -193,6 +193,7 @@ struct gensec_critical_sizes { int sizeof_gensec_security_ops; int sizeof_gensec_security; }; +const struct gensec_critical_sizes *gensec_interface_version(void); /* Socket wrapper */ diff --git a/auth/gensec/gensec_start.c b/auth/gensec/gensec_start.c index d3145ec581..3af4b48561 100644 --- a/auth/gensec/gensec_start.c +++ b/auth/gensec/gensec_start.c @@ -875,7 +875,7 @@ _PUBLIC_ NTSTATUS gensec_register(const struct gensec_security_ops *ops) This can be used by backends to either detect compilation errors, or provide multiple implementations for different smbd compilation options in one module */ -const struct gensec_critical_sizes *gensec_interface_version(void) +_PUBLIC_ const struct gensec_critical_sizes *gensec_interface_version(void) { static const struct gensec_critical_sizes critical_sizes = { GENSEC_INTERFACE_VERSION, -- cgit