$NetBSD: patch-am,v 1.1 2004/09/08 12:47:39 wiz Exp $ --- ncp/ncp.h.orig 1999-04-12 23:22:43.000000000 +0200 +++ ncp/ncp.h @@ -3,7 +3,7 @@ #include "bool.h" #include "bufferstore.h" -class link; +class Link; class channel; class IOWatch; @@ -21,6 +21,8 @@ public: bool gotLinkChannel(); private: + friend class Link; + enum c { MAX_LEN = 200, LAST_MESS = 1, NOT_LAST_MESS = 2 }; enum interControllerMessageType { // Inter controller message types @@ -37,7 +39,7 @@ private: void decodeControlMessage(bufferStore &buff); void controlChannel(int chan, enum interControllerMessageType t, bufferStore &command); - link *l; + Link *l; channel *channelPtr[8]; bufferStore messageList[8]; int remoteChanList[8];