[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] dhcp_patch
From: |
Andreas Becker |
Subject: |
Re: [lwip-users] dhcp_patch |
Date: |
Thu, 27 Jan 2005 16:31:11 +0100 |
Hi Leon,
> Sure, allow me a week or so.
Ok, no problem.
> A few questions: could we merge dhcp_start() and dhcp_restart(), my
> first impression is there is lot of copied code.
Yes.
We could write a macro like:
#define dhcp_start(netif) dhcp_restart(netif,NULL,0)
So we don't need to change the api.
> Do we need to alter the callback function after dhcp_start()? I would
> simply pass the callback to dhcp_start() in the first place to keep
> things simple and small.
I don't need to change the callback after dhcp_start().
Ok, then we need to change the api.
Regards,
--
MEng Dipl.-Ing.(FH) Andreas Becker
Entwicklung
dSys e.K.
Soeflinger Str. 100
D-89077 Ulm
Tel: +49.731.151579-1
Fax: +49.731.151579-9
web: www.dsys.de