net.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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: GPL-2.0
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License along
  20. * with this program; if not, write to the Free Software Foundation, Inc.,
  21. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  22. *
  23. * This file is part of mbed TLS (https://tls.mbed.org)
  24. *
  25. * \deprecated Superseded by mbedtls/net_sockets.h
  26. */
  27. #if !defined(MBEDTLS_DEPRECATED_REMOVED)
  28. #include "mbedtls/net_sockets.h"
  29. #if defined(MBEDTLS_DEPRECATED_WARNING)
  30. #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h"
  31. #endif /* MBEDTLS_DEPRECATED_WARNING */
  32. #endif /* !MBEDTLS_DEPRECATED_REMOVED */