OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libnetworking/] [libc/] [res_stubs.c] - Blame information for rev 278

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 * Copyright (C) 1996 Peter Wemm <peter@freebsd.org>.
3
 * All rights reserved.
4
 *
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
7
 * are met:
8
 * 1. Redistributions of source code must retain the above copyright
9
 *    notice, this list of conditions and the following disclaimer.
10
 * 2. Redistributions in binary form must reproduce the above copyright
11
 *    notice, this list of conditions and the following disclaimer in the
12
 *    documentation and/or other materials provided with the distribution.
13
 *
14
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24
 * SUCH DAMAGE.
25
 *
26
 * $Id: res_stubs.c,v 1.2 2001-09-27 12:01:53 chris Exp $
27
 */
28
 
29
/*
30
 * This file is for FreeBSD-3.0 that has a bind-4.9.5-P1 derived
31
 * resolver in the libc.  It provides aliases for functions that
32
 * have moved since 4.9.4-P1.
33
 *
34
 * I'll save everybody the trouble and say it now:  *THIS IS A HACK*!
35
 *
36
 * Yes, many of these are private functions to the resolver, but some are
37
 * needed as there is no other way to provide the functionality and they've
38
 * turned up all over the place. :-(
39
 */
40
 
41
#include <sys/types.h>
42
#include <sys/cdefs.h>
43
 
44
__weak_reference(__inet_addr, inet_addr);
45
__weak_reference(__inet_aton, inet_aton);
46
__weak_reference(__inet_lnaof, inet_lnaof);
47
__weak_reference(__inet_makeaddr, inet_makeaddr);
48
__weak_reference(__inet_neta, inet_neta);
49
__weak_reference(__inet_netof, inet_netof);
50
__weak_reference(__inet_network, inet_network);
51
__weak_reference(__inet_net_ntop, inet_net_ntop);
52
__weak_reference(__inet_net_pton, inet_net_pton);
53
__weak_reference(__inet_ntoa, inet_ntoa);
54
__weak_reference(__inet_pton, inet_pton);
55
__weak_reference(__inet_ntop, inet_ntop);
56
__weak_reference(__inet_nsap_addr, inet_nsap_addr);
57
__weak_reference(__inet_nsap_ntoa, inet_nsap_ntoa);
58
 
59
__weak_reference(__sym_ston, sym_ston);
60
__weak_reference(__sym_ntos, sym_ntos);
61
__weak_reference(__sym_ntop, sym_ntop);
62
__weak_reference(__fp_resstat, fp_resstat);
63
__weak_reference(__p_query, p_query);
64
__weak_reference(__p_fqnname, p_fqnname);
65
__weak_reference(__p_secstodate, p_secstodate);
66
__weak_reference(__dn_count_labels, dn_count_labels);
67
__weak_reference(__dn_comp, dn_comp);
68
__weak_reference(__res_close, _res_close);
69
__weak_reference(__dn_expand, dn_expand);
70
__weak_reference(__res_init, res_init);
71
__weak_reference(__res_query, res_query);
72
__weak_reference(__res_search, res_search);
73
__weak_reference(__res_querydomain, res_querydomain);
74
__weak_reference(__res_mkquery, res_mkquery);
75
__weak_reference(__res_send, res_send);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.