mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
gensec: Make gensec_interface_version public
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
fbb12b574d
commit
eb6ebe689f
@ -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 */
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user