blob: 66921887da0970bd038343b473ea6b53f9f30b3f [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/*
Bence Szépkúti1e148272020-08-07 13:07:28 +02009 * Copyright The Mbed TLS Contributors
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 Bakker5121ce52009-01-03 21:22:43 +000023 */
Ron Eldor8b0cf2e2018-02-14 16:02:41 +020024#if !defined(MBEDTLS_CONFIG_FILE)
Jaeden Amero6609aef2019-07-04 20:01:14 +010025#include "mbedtls/config.h"
Ron Eldor8b0cf2e2018-02-14 16:02:41 +020026#else
27#include MBEDTLS_CONFIG_FILE
28#endif
Paul Bakker5121ce52009-01-03 21:22:43 +000029
Andres AG788aa4a2016-09-14 14:32:09 +010030#if !defined(MBEDTLS_DEPRECATED_REMOVED)
Jaeden Amero6609aef2019-07-04 20:01:14 +010031#include "mbedtls/net_sockets.h"
Andres AG788aa4a2016-09-14 14:32:09 +010032#if defined(MBEDTLS_DEPRECATED_WARNING)
33#warning "Deprecated header file: Superseded by mbedtls/net_sockets.h"
34#endif /* MBEDTLS_DEPRECATED_WARNING */
35#endif /* !MBEDTLS_DEPRECATED_REMOVED */