blob: 8cead58e5df2c9b76252da48ff868d2b16d03fcb [file] [log] [blame]
Paul Bakker5121ce52009-01-03 21:22:43 +00001/**
2 * \file net.h
Paul Bakkere0ccd0a2009-01-04 16:27:10 +00003 *
Ron Eldor6fd941f2017-05-14 16:17:33 +03004 * \brief Deprecated header file that includes net_sockets.h
Paul Bakker37ca75d2011-01-06 12:28:03 +00005 *
Darryl Greena40a1012018-01-05 15:33:17 +00006 * \deprecated Superseded by mbedtls/net_sockets.h
7 */
8/*
Andres AG788aa4a2016-09-14 14:32:09 +01009 * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved
Manuel Pégourié-Gonnard37ff1402015-09-04 14:21:07 +020010 * SPDX-License-Identifier: Apache-2.0
11 *
12 * Licensed under the Apache License, Version 2.0 (the "License"); you may
13 * not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * http://www.apache.org/licenses/LICENSE-2.0
17 *
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
20 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
Paul Bakkerb96f1542010-07-18 20:36:00 +000023 *
Manuel Pégourié-Gonnardfe446432015-03-06 13:17:10 +000024 * This file is part of mbed TLS (https://tls.mbed.org)
Paul Bakker5121ce52009-01-03 21:22:43 +000025 */
Ron Eldor8b0cf2e2018-02-14 16:02:41 +020026#if !defined(MBEDTLS_CONFIG_FILE)
27#include "config.h"
28#else
29#include MBEDTLS_CONFIG_FILE
30#endif
Paul Bakker5121ce52009-01-03 21:22:43 +000031
Andres AG788aa4a2016-09-14 14:32:09 +010032#if !defined(MBEDTLS_DEPRECATED_REMOVED)
Ron Eldor6fd941f2017-05-14 16:17:33 +030033#include "net_sockets.h"
Andres AG788aa4a2016-09-14 14:32:09 +010034#if defined(MBEDTLS_DEPRECATED_WARNING)
35#warning "Deprecated header file: Superseded by mbedtls/net_sockets.h"
36#endif /* MBEDTLS_DEPRECATED_WARNING */
37#endif /* !MBEDTLS_DEPRECATED_REMOVED */