This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Multiple PPP interfaces in single unit
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: Nick Garnett <nickg at ecoscentric dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 29 Jul 2004 08:41:51 +0200
- Subject: Re: [ECOS] Multiple PPP interfaces in single unit
- References: <1091017108.3449.13.camel@famine> <m3zn5ke0iq.fsf@xl5.calivar.com>
> This is not a trivial job unfortunately, and anything we do would
> seriously inhibit any efforts to update the PPP code from the BSD
> repository.
Here is a new PPPD refactoring scheme I thought off. It should be fairly
diff/merge-friendly.
int globalvar;
void foo(int x, int y)
{
globalvar++;
}
=>
class PPPD
{
int globalvar;
void foo(int x, int y);
};
void PPPD::foo(int x, int y)
{
globalvar++;
}
--
Øyvind Harboe
http://www.zylin.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss