Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Apr 1999 17:06:25 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Mark Murray <mark@grondar.za>, Brian Somers <brian@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/crypto/telnet/telnetd telnetd.c 
Message-ID:  <62477.923411185@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 06 Apr 1999 15:30:47 BST." <199904061430.PAA14752@keep.lan.Awfulhak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199904061430.PAA14752@keep.lan.Awfulhak.org>, Brian Somers writes:
>> In message <199904061329.PAA56207@greenpeace.grondar.za>, Mark Murray writes:
>> >Brian Somers wrote:
>> >>   Suggested by: markm
>> 
>> Isn't it time to make this a library function rather than have it replicated
>> all over the place ?
>
>Yep - I'm looking at that now.
>
>Any objections to
>
>  void
>  utsethost(struct utmp *u, struct in_addr);
>
>in libutil, where u->ut_host is filled in the way rlogind (and now
>telnetd) does it ?

I think that does too much.  I would like it to be available for
other than utmp as well.  I'll not protest if you make two 
functions, one "raw" and one for "utmp" uses.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62477.923411185>