Re: [lwip-users] "HIDE the declaration of PBUF STRUCT in pbuf.h"

2017-11-01 Thread goldsimon
antonio wrote: >I *moved* the declaration of *struct pbuf from pbuf.h to pbuf.c*. That won't work as in many places the struct needs to be known. Including sizeof() and other direct instantiations (not via pbuf_alloc). We started a scheme for private header files to solve this. Simon ___

[lwip-users] "HIDE the declaration of PBUF STRUCT in pbuf.h"

2017-11-01 Thread antonio
Hi all, I *moved* the declaration of *struct pbuf from pbuf.h to pbuf.c*. In addition, I also *created functions for accessing and setting pbuf struct fields*. Then I went in all the files and *replaced direct access to my provided functions using "Coccinelle" *. However, I have many compilation e