xref: /titanic_44/usr/src/test/libc-tests/cfg/symbols/netdb_h.cfg (revision 77b65ce69d04f1ba0eceb747081964672b718796)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14#
15
16#
17# Definitions found in netdb.h
18#
19
20#
21# Types.
22#
23
24#
25# Values.
26#
27#value | h_errno	| int | netdb.h | -ALL SUS+ -SUSv4+
28#value | HOST_NOT_FOUND	| int | netdb.h | -ALL SUS+ -SUSv4+
29#value | NO_DATA	| int | netdb.h | -ALL SUS+ -SUSv4+
30#value | NO_RECOVERY	| int | netdb.h | -ALL SUS+ -SUSv4+
31#value | TRY_AGAIN	| int | netdb.h | -ALL SUS+ -SUSv4+
32
33#
34# Functions
35#
36
37func |	endhostent			|\
38	void				|\
39	void				|\
40	netdb.h				|\
41	SUS+
42
43func |	gethostent			|\
44	struct hostent *		|\
45	void				|\
46	netdb.h				|\
47	SUS+
48
49func |	sethostent			|\
50	void				|\
51	int				|\
52	netdb.h				|\
53	SUS+
54