Re: [Linuxptp-devel] [PATCH RFC 24/30] interface: Introduce methods to create and destroy instances.

2020-03-05 Thread Jacob Keller
On 3/4/2020 9:19 AM, Richard Cochran wrote: > On Tue, Feb 18, 2020 at 01:25:00PM -0800, Jacob Keller wrote: >> >> I still think it would be good to have the functions guarantee the NULL >> by manually assigning or using one of the string copy implementations >> that will guarantee it. That way

Re: [Linuxptp-devel] [PATCH RFC 24/30] interface: Introduce methods to create and destroy instances.

2020-03-04 Thread Richard Cochran
On Tue, Feb 18, 2020 at 01:25:00PM -0800, Jacob Keller wrote: > > I still think it would be good to have the functions guarantee the NULL > by manually assigning or using one of the string copy implementations > that will guarantee it. That way they don't have to rely on this assumption. In the

Re: [Linuxptp-devel] [PATCH RFC 24/30] interface: Introduce methods to create and destroy instances.

2020-02-18 Thread Jacob Keller
On 2/11/2020 6:04 AM, Richard Cochran wrote: > In order to eventually hide the implementation details of the interface, > users will need to be able to create and destroy instances thereof. This > patch adds the needed methods. > > Signed-off-by: Richard Cochran Reviewed-by: Jacob Keller >

[Linuxptp-devel] [PATCH RFC 24/30] interface: Introduce methods to create and destroy instances.

2020-02-11 Thread Richard Cochran
In order to eventually hide the implementation details of the interface, users will need to be able to create and destroy instances thereof. This patch adds the needed methods. Signed-off-by: Richard Cochran --- interface.c | 19 +++ interface.h | 13 + 2 files