blob: 416e7b5427a5ad7b6a5306a90c4e08daac5fc71d [file] [log] [blame]
Edison Aic6672fd2018-02-28 15:01:47 +08001/* SPDX-License-Identifier: Apache-2.0 */
Jens Wiklander817466c2018-05-22 13:49:31 +02002/**
3 * \file net.h
4 *
Jens Wiklander3d3b0592019-03-20 15:30:29 +01005 * \brief Deprecated header file that includes net_sockets.h
Jens Wiklander817466c2018-05-22 13:49:31 +02006 *
Jens Wiklander3d3b0592019-03-20 15:30:29 +01007 * \deprecated Superseded by mbedtls/net_sockets.h
8 */
9/*
Jens Wiklander817466c2018-05-22 13:49:31 +020010 * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved
Jens Wiklander817466c2018-05-22 13:49:31 +020011 *
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)
Jens Wiklander817466c2018-05-22 13:49:31 +020025 */
Jerome Forissier5b25c762020-04-07 11:18:49 +020026#if !defined(MBEDTLS_CONFIG_FILE)
27#include "config.h"
28#else
29#include MBEDTLS_CONFIG_FILE
30#endif
Jens Wiklander817466c2018-05-22 13:49:31 +020031
32#if !defined(MBEDTLS_DEPRECATED_REMOVED)
Jens Wiklander3d3b0592019-03-20 15:30:29 +010033#include "net_sockets.h"
Jens Wiklander817466c2018-05-22 13:49:31 +020034#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 */