net.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * \file net.h
  3. *
  4. * \brief Deprecated header file that includes mbedtls/net_sockets.h
  5. *
  6. * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved
  7. * SPDX-License-Identifier: Apache-2.0
  8. *
  9. * Licensed under the Apache License, Version 2.0 (the "License"); you may
  10. * not use this file except in compliance with the License.
  11. * You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  17. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. *
  21. * This file is part of mbed TLS (https://tls.mbed.org)
  22. *
  23. * \deprecated Superseded by mbedtls/net_sockets.h
  24. */
  25. #if !defined(MBEDTLS_DEPRECATED_REMOVED)
  26. #include "mbedtls/net_sockets.h"
  27. #if defined(MBEDTLS_DEPRECATED_WARNING)
  28. #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h"
  29. #endif /* MBEDTLS_DEPRECATED_WARNING */
  30. #endif /* !MBEDTLS_DEPRECATED_REMOVED */