svn commit: r304815 - in head: lib lib/libifc share/examples/libifc share/mk

Conrad Meyer cem at freebsd.org
Thu Aug 25 20:33:43 UTC 2016


On Thu, Aug 25, 2016 at 1:20 PM, Kristof Provost <kp at freebsd.org> wrote:
> On 25 Aug 2016, at 22:14, John Baldwin wrote:
>> I hate even writing this mail, and it looks like the topic wasn't really
>> discussed in the review, but I think libifconfig is probably the "better"
>> name if the goal is to move most of ifconfig into it.  Certainly if a
>> developer is looking for a library that provides a programmatic interface
>> to the same operations a user does via ifconfig, libifconfig is the name
>> they will look for first.
>
> This is the right time to bring this sort of thing up. One of the reasons
> I pushed to get this in the tree in this very early state was to provoke
> exactly this sort of response. Right now the work is still in an early state
> and changing this sort of thing is still possible.
>
> The name was in fact discussed privately, and we figured libifconfig was a
> bit
> on the long side.
>
> I certainly take your point about libifc_. Does anyone else have any views
> regarding
> the naming (or other subjects)?

Hi,

I don't have anything to add, other than a "me too."

I'd second John's suggestions.  'libifconfig' for the library name is
more reasonable than libifc.  And just 'ifc_' (or even 'ifconfig_')
prefixes for public library routines is sufficient.

Thanks,
Conrad


More information about the svn-src-all mailing list