]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/arpa/inet.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / Include / arpa / inet.h
diff --git a/StdLib/Include/arpa/inet.h b/StdLib/Include/arpa/inet.h
deleted file mode 100644 (file)
index 888a765..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-/*  $NetBSD: inet.h,v 1.21.10.1 2007/05/17 21:25:11 jdc Exp $ */\r
-\r
-/*\r
- * ++Copyright++ 1983, 1993\r
- * -\r
- * Copyright (c) 1983, 1993\r
- *    The Regents of the University of California.  All rights reserved.\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions\r
- * are met:\r
- * 1. Redistributions of source code must retain the above copyright\r
- *    notice, this list of conditions and the following disclaimer.\r
- * 2. Redistributions in binary form must reproduce the above copyright\r
- *    notice, this list of conditions and the following disclaimer in the\r
- *    documentation and/or other materials provided with the distribution.\r
- * 3. Neither the name of the University nor the names of its contributors\r
- *    may be used to endorse or promote products derived from this software\r
- *    without specific prior written permission.\r
- *\r
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\r
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\r
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
- * SUCH DAMAGE.\r
- * -\r
- * Portions Copyright (c) 1993 by Digital Equipment Corporation.\r
- *\r
- * Permission to use, copy, modify, and distribute this software for any\r
- * purpose with or without fee is hereby granted, provided that the above\r
- * copyright notice and this permission notice appear in all copies, and that\r
- * the name of Digital Equipment Corporation not be used in advertising or\r
- * publicity pertaining to distribution of the document or software without\r
- * specific, written prior permission.\r
- *\r
- * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL\r
- * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES\r
- * OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT\r
- * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL\r
- * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\r
- * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\r
- * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\r
- * SOFTWARE.\r
- * -\r
- * --Copyright--\r
- */\r
-\r
-/*%\r
- *  @(#)inet.h  8.1 (Berkeley) 6/2/93\r
- *  Id: inet.h,v 1.2.18.1 2005/04/27 05:00:50 sra Exp\r
- */\r
-\r
-#ifndef _ARPA_INET_H_\r
-#define _ARPA_INET_H_\r
-\r
-/* External definitions for functions in inet(3) */\r
-\r
-#include <sys/ansi.h>\r
-#include <sys/EfiCdefs.h>\r
-#include <sys/featuretest.h>\r
-#include <sys/types.h>\r
-\r
-#include <netinet/in.h>\r
-\r
-#if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 520 || \\r
-    defined(_NETBSD_SOURCE)\r
-#ifndef socklen_t\r
-typedef __socklen_t socklen_t;\r
-#define socklen_t __socklen_t\r
-#endif\r
-#endif /* _POSIX_C_SOURCE >= 200112 || XOPEN_SOURCE >= 520 || _NETBSD_SOURCE */\r
-\r
-__BEGIN_DECLS\r
-in_addr_t  inet_addr(const char *);\r
-in_addr_t  inet_lnaof(struct in_addr);\r
-struct in_addr   inet_makeaddr(in_addr_t, in_addr_t);\r
-in_addr_t  inet_netof(struct in_addr);\r
-in_addr_t  inet_network(const char *);\r
-char    *inet_ntoa(struct in_addr);\r
-#if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 520 || \\r
-    defined(_NETBSD_SOURCE)\r
-const char  *inet_ntop(int, const void * __restrict,\r
-                    char * __restrict, socklen_t);\r
-int    inet_pton(int, const char * __restrict,\r
-                    void * __restrict);\r
-#endif\r
-#if defined(_NETBSD_SOURCE)\r
-int    inet_aton(const char *, struct in_addr *);\r
-char *     inet_neta(u_long, char *, size_t);\r
-char    *inet_net_ntop(int, const void *, int, char *, size_t);\r
-int    inet_net_pton(int, const char *, void *, size_t);\r
-char    *inet_cidr_ntop(int, const void *, int, char *, size_t);\r
-int    inet_cidr_pton(int, const char *, void *, int *);\r
-u_int    inet_nsap_addr(const char *, u_char *, int);\r
-char    *inet_nsap_ntoa(int, const u_char *, char *);\r
-#endif\r
-__END_DECLS\r
-\r
-#endif /* _ARPA_INET_H_ */\r