diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-31 11:59:39 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-31 12:17:01 +0000 |
commit | e86a6151f49e045b009e8b4db072cf3eb3c7bdf1 (patch) | |
tree | bc844b9c1f9a462cee9436c5a45d98ab248d8631 /lib/endian.h | |
parent | f4413ca65a2b5bf469df3a4ab05d965e5f59c91d (diff) |
endian: Added standard function descriptions
Diffstat (limited to 'lib/endian.h')
-rw-r--r-- | lib/endian.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/endian.h b/lib/endian.h index 852fef376..a8811c940 100644 --- a/lib/endian.h +++ b/lib/endian.h @@ -22,12 +22,17 @@ * ***************************************************************************/ +/* Converts a 16-bit integer from little endian */ unsigned short Curl_read16_le(unsigned char *buf); + +/* Converts a 32-bit integer from little endian */ unsigned int Curl_read32_le(unsigned char *buf); +/* Converts a 32-bit integer to little endian */ void Curl_write32_le(const int value, unsigned char *buffer); #if (CURL_SIZEOF_CURL_OFF_T > 4) +/* Converts a 64-bit integer to little endian */ #if defined(HAVE_LONGLONG) void Curl_write64_le(const long long value, unsigned char *buffer); #else |