aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-05 15:17:18 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-05 15:17:18 +0000
commit74684dd41c5e9dd2cab0e53ca831ac13e38e6b4e (patch)
tree1e42c621a5fa6f37ddca90c9a6d61c14a269d24f /src/include/gnunet_common.h
parent33dfaada638d98163e265e46ca527a6630437613 (diff)
downloadgnunet-74684dd41c5e9dd2cab0e53ca831ac13e38e6b4e.tar.gz
gnunet-74684dd41c5e9dd2cab0e53ca831ac13e38e6b4e.zip
-docu
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r--src/include/gnunet_common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index cecc94c9e..76b26ddff 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -496,6 +496,21 @@ GNUNET_ntohll (uint64_t n);
496uint64_t 496uint64_t
497GNUNET_htonll (uint64_t n); 497GNUNET_htonll (uint64_t n);
498 498
499/**
500 * Convert double to network-byte-order.
501 * @param d the value in network byte order
502 * @return the same value in host byte order
503 */
504double
505GNUNET_hton_double (double in);
506
507/**
508 * Convert double to host-byte-order
509 * @param d the value in network byte order
510 * @return the same value in host byte order
511 */
512double
513GNUNET_ntoh_double (double in);
499 514
500/* ************************* allocation functions ****************** */ 515/* ************************* allocation functions ****************** */
501 516