[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] lwip 1.3.2 vs 1.4.0 - usage of netif_add()?
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-devel] lwip 1.3.2 vs 1.4.0 - usage of netif_add()? |
Date: |
Fri, 24 Feb 2012 12:44:36 +0100 |
address@hidden wrote:
> Since 1.4.0 a call back to an initialisation function netif_init_fn is
> required where I can't see where to get it from or how this was done in 1.3.2.
>
> So what kind of function is required here comparing to old version 1.3.2?
It's the same init function that has always been required. The only difference
is that from 1.3.2 to 1.4.0, I the source code to use function prototype
typedefs instead of repeating the same function signature pointer everywhere.
Not that this doesn't change the code generated, it's just a different notation
in C. If your init function has the correct signature, it should just work.
Simon
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de