Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / stacks / AROSTCP / bsdsocket / api / gethtbynamadr.h
blob221c19326b9daec92f4bef87ccf2ea440338b88f
1 /*
2 * Copyright (C) 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
3 * Helsinki University of Technology, Finland.
4 * All rights reserved.
5 * Copyright (C) 2005 - 2007 The AROS Dev Team
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19 * MA 02111-1307, USA.
23 #ifndef API_GETHTBYNAMADR_H
24 #define API_GETHTBYNAMADR_H
26 struct hostent *__gethostbyname(const char *name, struct SocketBase *libPtr);
28 struct hostent * _gethtbyname(struct SocketBase * libPtr,
29 const char * name);
30 struct hostent * _gethtbyaddr(struct SocketBase * libPtr,
31 const char * addr, int len, int type);
33 #endif /* API_GETHTBYNAMADR_H */