[ECOS] Multiple PPP interfaces in single unit
Øyvind Harboe
oyvind.harboe@zylin.com
Thu Jul 29 07:38:00 GMT 2004
> 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
More information about the Ecos-discuss
mailing list