Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 10 Feb 2003 17:44:20 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [PATCH] missing in_addr_t type Message-ID: <20030210224420.GA29239@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <002e01c2d116$adc59cd0$d8a907d5 AT BRAMSCHE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002e01c2d116$adc59cd0$d8a907d5@BRAMSCHE> User-Agent: Mutt/1.5.1i On Mon, Feb 10, 2003 at 04:11:25PM +0100, Ralf Habacker wrote: >Hi all, > >while compiling kde with cygwin I recgonized a missing 'in_addr_t' type in >arpa/inet.h, which seems to belong to this file like >http://www.opengroup.org/onlinepubs/007908799/xns/netinetin.h.html says. > >Additional this type should be uses as return type for the following functions > >in_addr_t inet_addr(const char *cp); >in_addr_t inet_lnaof(struct in_addr in); >in_addr_t inet_netof(struct in_addr in); >in_addr_t inet_network(const char *cp); > >which are currently > >unsigned long inet_addr (const char *); >unsigned long inet_lnaof (struct in_addr); >unsigned int inet_netof (struct in_addr); >unsigned int inet_network (const char *); > >see http://www.opengroup.org/onlinepubs/007908799/xns/arpainet.h.html for >further details. Applied, with the usual ChangeLog corrections. Thanks. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/