blob: 8cead58e5df2c9b76252da48ff868d2b16d03fcb [file] [log] [blame]
Gilles Peskine458b8f22020-02-26 18:28:28 +01001/**
2 * \file net.h
3 *
4 * \brief Deprecated header file that includes net_sockets.h
5 *
6 * \deprecated Superseded by mbedtls/net_sockets.h
7 */
8/*
9 * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved
10 * 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.
23 *
24 * This file is part of mbed TLS (https://tls.mbed.org)
25 */
26#if !defined(MBEDTLS_CONFIG_FILE)
27#include "config.h"
28#else
29#include MBEDTLS_CONFIG_FILE
30#endif
31
32#if !defined(MBEDTLS_DEPRECATED_REMOVED)
33#include "net_sockets.h"
34#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 */