summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-05-11 10:35:33 +0200
committerJeremy Allison <jra@samba.org>2013-05-15 18:19:09 +0200
commiteb6ebe689faa08a941bd22929ab2e3f932deee85 (patch)
treefe541018238c55c6afb22ef186ec95c1b9539aec
parentfbb12b574df69a1cda0a3f201f21279650ddc4c4 (diff)
downloadsamba-eb6ebe689faa08a941bd22929ab2e3f932deee85.tar.gz
samba-eb6ebe689faa08a941bd22929ab2e3f932deee85.tar.bz2
samba-eb6ebe689faa08a941bd22929ab2e3f932deee85.zip
gensec: Make gensec_interface_version public
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--auth/gensec/gensec.h1
-rw-r--r--auth/gensec/gensec_start.c2
2 files changed, 2 insertions, 1 deletions
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,