[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] netconn_close()
From: |
Jonathan Larmour |
Subject: |
Re: [lwip-users] netconn_close() |
Date: |
Wed, 28 May 2008 01:11:11 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515) |
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] netconn_close(), Marko Panger, 2008/05/26
- Re: [lwip-users] netconn_close(), Jonathan Larmour, 2008/05/27
- Re: [lwip-users] netconn_close(), Marko Panger, 2008/05/27
- Re: [lwip-users] netconn_close(), Jonathan Larmour, 2008/05/27
- Re: [lwip-users] netconn_close(), Frédéric BERNON, 2008/05/27
- Re: [lwip-users] netconn_close(), Marko Panger, 2008/05/27
- Re: [lwip-users] netconn_close(), Frédéric BERNON, 2008/05/27
- Re: [lwip-users] netconn_close(), Frédéric BERNON, 2008/05/27
- Re: [lwip-users] netconn_close(),
Jonathan Larmour <=