[hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl
- From: Xin Gu <eric.nevup@xxxxxxxxx>
- To: hipl-dev@xxxxxxxxxxxxx
- Date: Thu, 22 Mar 2012 14:49:47 +0200
Hi, On 15/03/12 13:41, Christof Mroz wrote:
Review: Needs Information A<code> tag looks more appropriate than<emphasis> (also in other places throught the file) http://www.docbook.org/tdg/en/html/code.html
Although from the link you provided, <code> tag can be the child of <para>, I found that changing to <code> tag causes XML validation failure. Now I still using <emphasis> tag.
Since this is a library function (i.e., "user-friendly"), this should error out if neither AF_INET nor AF_INET6 are given. Since this is a library function, you should check that addr is indeed non-NULL for UDP. But better yet: don't use the caller's buffer in the first place but provide your own. Would a corresponding remove function make sense?
Next version of libhipl (which is what I am working on now) will contain argument check and other functionalities you mentioned.
Other two issues: code redundancy and useless indirection are fixed. Sorry for my delayed response. Thanks. Xin
- Follow-Ups:
- [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl
- From: Diego Biurrun
- [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl
- References:
- [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl
- From: Christof Mroz
- [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl
Other related posts:
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Stefan Götz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Stefan Götz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Stefan Götz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - David Martin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - David Martin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Stefan Götz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Stefan Götz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Stefan Götz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - René Hummen
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Christof Mroz
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin Gu
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Xin
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Miika Komu
- » [hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - Diego Biurrun
- » [hipl-dev] [Merge] lp:~hipl-core/hipl/libhip into lp:hipl - noreply