Frédéric BERNON wrote:
We could add something like this in api.h:

#define netconn_recv_timeout(conn) ((conn)->recv_timeout)

Nitpicky I know, but personally I'd prefer separating it out so if in future we do change it to a function with concurrent access protection, we will be able to. So:

#define netconn_get_recv_timeout(conn) ((conn)->recv_timeout)
#define netconn_set_recv_timeout(conn, rcv_tmo) ((conn)->recv_timeout = (rcv_tmo))

If there are no objections, I'll add this (and doc in the wiki).

Jifl
--
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------      Opinions==mine


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to