1 /**
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 The Mbed TLS Contributors
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 #if !defined(MBEDTLS_CONFIG_FILE)
25 #include "mbedtls/config.h"
26 #else
27 #include MBEDTLS_CONFIG_FILE
28 #endif
29 
30 #if !defined(MBEDTLS_DEPRECATED_REMOVED)
31 #include "mbedtls/net_sockets.h"
32 #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 */
36