1.1 --- a/src/node/node.h Fri Jun 19 09:13:29 2009 +0200
1.2 +++ b/src/node/node.h Wed Jul 15 18:46:14 2009 +0200
1.3 @@ -28,12 +28,14 @@
1.4 #include "ns3/ptr.h"
1.5 #include "ns3/net-device.h"
1.6
1.7 +struct INetStack;
1.8 +
1.9 namespace ns3 {
1.10
1.11 class Application;
1.12 class Packet;
1.13 class Address;
1.14 -
1.15 +class NscGlue;
1.16
1.17 /**
1.18 * \ingroup node
1.19 @@ -172,13 +174,16 @@
1.20 */
1.21 void UnregisterProtocolHandler (ProtocolHandler handler);
1.22
1.23 + void SetNscLibrary (const std::string &soname);
1.24 + std::string GetNscLibrary (void) const;
1.25 + INetStack* GetNscInetStack(void);
1.26 + void RegisterNscWakeupCallback (Callback<void>);
1.27
1.28 /**
1.29 * \returns true if checksums are enabled, false otherwise.
1.30 */
1.31 static bool ChecksumEnabled (void);
1.32
1.33 -
1.34 protected:
1.35 /**
1.36 * The dispose method. Subclasses must override this method
1.37 @@ -216,6 +221,8 @@
1.38 std::vector<Ptr<Application> > m_applications;
1.39 ProtocolHandlerList m_handlers;
1.40
1.41 + Ptr <NscGlue> m_nscGlue;
1.42 + bool m_useNsc;
1.43 };
1.44
1.45 } //namespace ns3