Per spec: * https://pubs.opengroup.org/onlinepubs/9699919799/functions/htonl.html * https://pubs.opengroup.org/onlinepubs/9699919799/functions/htons.html Also adds UInt16Type and UInt32Type to spec.td Co-authored-by: Jeff Bailey <jbailey@google.com> Reviewed By: sivachandra, jeffbailey, rtenneti Differential Revision: https://reviews.llvm.org/D143795
19 lines
535 B
Modula-2
19 lines
535 B
Modula-2
//===-- C standard library header network.h -------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_ARPA_INET_H
|
|
#define LLVM_LIBC_ARPA_INET_H
|
|
|
|
#include <__llvm-libc-common.h>
|
|
|
|
#include <inttypes.h>
|
|
|
|
%%public_api()
|
|
|
|
#endif // LLVM_LIBC_ARPA_INET_H
|