From 2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 28 Dec 2005 15:38:36 +0000 Subject: r12542: Move some more prototypes out to seperate headers (This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2) --- source4/auth/credentials/config.mk | 1 + source4/auth/credentials/credentials.h | 2 ++ source4/auth/credentials/credentials_gensec.c | 1 + 3 files changed, 4 insertions(+) (limited to 'source4/auth/credentials') diff --git a/source4/auth/credentials/config.mk b/source4/auth/credentials/config.mk index 4efa81fb04..db36b01334 100644 --- a/source4/auth/credentials/config.mk +++ b/source4/auth/credentials/config.mk @@ -1,6 +1,7 @@ ################################# # Start SUBSYSTEM GENSEC [SUBSYSTEM::CREDENTIALS] +PRIVATE_PROTO_HEADER = credentials_proto.h OBJ_FILES = credentials.o \ credentials_files.o \ credentials_krb5.o \ diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h index c8a95e2b51..8402676acd 100644 --- a/source4/auth/credentials/credentials.h +++ b/source4/auth/credentials/credentials.h @@ -97,3 +97,5 @@ struct cli_credentials { /* A list of valid GENSEC mechanisms for use on this account */ const struct gensec_security_ops **gensec_list; }; + +#include "auth/credentials/credentials_proto.h" diff --git a/source4/auth/credentials/credentials_gensec.c b/source4/auth/credentials/credentials_gensec.c index fcaa760ed4..7ea15e7988 100644 --- a/source4/auth/credentials/credentials_gensec.c +++ b/source4/auth/credentials/credentials_gensec.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "auth/gensec/gensec.h" const struct gensec_security_ops **cli_credentials_gensec_list(struct cli_credentials *creds) { -- cgit