diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-27 18:34:06 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-27 18:34:06 +0100 |
commit | f6a64e01947c2e38d4dc3ae8b29cb7ecae70e3cd (patch) | |
tree | 65937967f0136f1ec5e276a16b16f7784c3bd951 /doc/sphinx/core | |
parent | 9cc967321656dd8d50231047c7366c82a9897e9c (diff) | |
download | anastasis-f6a64e01947c2e38d4dc3ae8b29cb7ecae70e3cd.tar.gz anastasis-f6a64e01947c2e38d4dc3ae8b29cb7ecae70e3cd.tar.bz2 anastasis-f6a64e01947c2e38d4dc3ae8b29cb7ecae70e3cd.zip |
proposal to address #7064
Diffstat (limited to 'doc/sphinx/core')
-rw-r--r-- | doc/sphinx/core/api-common.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/sphinx/core/api-common.rst b/doc/sphinx/core/api-common.rst index a7d77ba..423de2d 100644 --- a/doc/sphinx/core/api-common.rst +++ b/doc/sphinx/core/api-common.rst @@ -297,6 +297,14 @@ denoting microseconds since the UNIX Epoch. ``UINT64_MAX`` represents "never". struct GNUNET_TIME_AbsoluteNBO { uint64_t abs_value_us__; // in network byte order }; + struct GNUNET_TIME_Timestamp { + // must be round value (multiple of seconds) + struct GNUNET_TIME_Absolute abs_time; + }; + struct GNUNET_TIME_TimestampNBO { + // must be round value (multiple of seconds) + struct GNUNET_TIME_AbsoluteNBO abs_time; + }; Cryptographic primitives ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -318,6 +326,13 @@ uses 512-bit hash codes (64 bytes). uint8_t ecdh_pub[32]; }; +.. _ANASTASIS_TruthKeyP: +.. sourcecode:: c + + struct ANASTASIS_TruthKeyP { + struct GNUNET_HashCode key; + }; + .. sourcecode:: c struct UUID { |