summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-17 00:06:34 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-17 11:04:45 +0100
commit081f8883bafc11ca7c08f868ec19f1ea32071837 (patch)
tree2e190f34ba0cb18321e0581f5e3ac242ee93f03b /source4/auth
parent675b363b712e0b91b9b7d1189a819a36853db539 (diff)
downloadsamba-081f8883bafc11ca7c08f868ec19f1ea32071837.tar.gz
samba-081f8883bafc11ca7c08f868ec19f1ea32071837.tar.bz2
samba-081f8883bafc11ca7c08f868ec19f1ea32071837.zip
s4: fix LIBEVENTS dependencies and use more forward declarations
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/gensec.h1
-rw-r--r--source4/auth/session.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec.h b/source4/auth/gensec/gensec.h
index cb7f3aec99..235d2008fb 100644
--- a/source4/auth/gensec/gensec.h
+++ b/source4/auth/gensec/gensec.h
@@ -65,6 +65,7 @@ enum gensec_role
struct auth_session_info;
struct cli_credentials;
struct gensec_settings;
+struct event_context;
struct gensec_update_request {
struct gensec_security *gensec_security;
diff --git a/source4/auth/session.h b/source4/auth/session.h
index e0805e1584..fd298b4401 100644
--- a/source4/auth/session.h
+++ b/source4/auth/session.h
@@ -29,7 +29,8 @@ struct auth_session_info {
};
#include "librpc/gen_ndr/netlogon.h"
-#include "lib/events/events.h"
+
+struct event_context;
/* Create a security token for a session SYSTEM (the most
* trusted/prvilaged account), including the local machine account as