diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-17 00:06:34 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-17 11:04:45 +0100 |
commit | 081f8883bafc11ca7c08f868ec19f1ea32071837 (patch) | |
tree | 2e190f34ba0cb18321e0581f5e3ac242ee93f03b /source4/smb_server | |
parent | 675b363b712e0b91b9b7d1189a819a36853db539 (diff) | |
download | samba-081f8883bafc11ca7c08f868ec19f1ea32071837.tar.gz |
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/smb_server')
-rw-r--r-- | source4/smb_server/smb_server.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h index 227c298008e..d66286da2e1 100644 --- a/source4/smb_server/smb_server.h +++ b/source4/smb_server/smb_server.h @@ -21,10 +21,11 @@ #include "libcli/raw/request.h" #include "libcli/raw/interfaces.h" -#include "lib/events/events.h" #include "lib/socket/socket.h" #include "../lib/util/dlinklist.h" +struct event_context; + /* this header declares the core context structures associated with smb sockets, tree connects, requests etc |