From e7a6a3ec0da01666c8e0c9772007ce7146df9d75 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 2 Jul 2010 00:32:52 +0200 Subject: s3: avoid global include of ads.h. Guenther --- source3/utils/net_proto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils/net_proto.h') diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h index 9f3fe155a4..4791223f2d 100644 --- a/source3/utils/net_proto.h +++ b/source3/utils/net_proto.h @@ -45,9 +45,9 @@ void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid, enum netr_SchannelType get_sec_channel_type(const char *param); /* The following definitions come from utils/net_ads.c */ - -ADS_STATUS ads_startup(struct net_context *c, bool only_own_domain, ADS_STRUCT **ads); -ADS_STATUS ads_startup_nobind(struct net_context *c, bool only_own_domain, ADS_STRUCT **ads); +struct ads_struct; +ADS_STATUS ads_startup(struct net_context *c, bool only_own_domain, struct ads_struct **ads); +ADS_STATUS ads_startup_nobind(struct net_context *c, bool only_own_domain, struct ads_struct **ads); int net_ads_check_our_domain(struct net_context *c); int net_ads_check(struct net_context *c); int net_ads_user(struct net_context *c, int argc, const char **argv); -- cgit