Adding strlcpy and strlcat replacements to libradius

Paul TBBle Hampson Paul.Hampson at Pobox.com
Tue Oct 4 16:51:39 CEST 2005


On Tue, Oct 04, 2005 at 11:17:23AM +0300, Peter Nixon wrote:
> On Wednesday 21 September 2005 20:10, Nicolas Baradakis wrote:
>> Alan DeKok wrote:
> > >> Where should I put the prototypes of strlcpy and strlcat ?

> >>   missing.h.

>> Done.

> > >> I'm a little lost in the files in src/include. Sometimes replacement
> > >> functions are declared in libradius.h, sometimes in missing.h. There
> > >> are many things in missing.h not related to things in missing.c.

> >>   Yeah, it's a mess.

> >>   The idea is that libradius.h should be usable by external programs,
> >> after the server has been installed.

>> That'd be very nice. In that case we could install the libradius
>> headers in /usr/include/freeradius, too.

> Yes. And make -devel binary packages..

And people could build modules outside the tree without needing the
whole source... ^_^

I'm starting to think we should skip 2.0 and go straight to 3.0...

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, MCSE
8th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.Com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

License: http://creativecommons.org/licenses/by/2.1/au/
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20051005/73c21ea6/attachment.pgp>


More information about the Freeradius-Devel mailing list