GNUnet  0.17.6
Macros | Functions
common_endian.c File Reference

endian conversion helpers More...

#include "platform.h"
#include "gnunet_crypto_lib.h"
Include dependency graph for common_endian.c:

Go to the source code of this file.

Macros

#define LOG(kind, ...)   GNUNET_log_from (kind, "util-common-endian", __VA_ARGS__)
 

Functions

uint64_t GNUNET_htonll (uint64_t n)
 Convert unsigned 64-bit integer to network byte order. More...
 
uint64_t GNUNET_ntohll (uint64_t n)
 Convert unsigned 64-bit integer to host byte order. More...
 
double GNUNET_hton_double (double d)
 Convert double to network byte order. More...
 
double GNUNET_ntoh_double (double d)
 Convert double to host byte order. More...
 

Detailed Description

endian conversion helpers

Author
Christian Grothoff
Gabor X Toth

Definition in file common_endian.c.

Macro Definition Documentation

◆ LOG

#define LOG (   kind,
  ... 
)    GNUNET_log_from (kind, "util-common-endian", __VA_ARGS__)

Definition at line 31 of file common_endian.c.