aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_endian.h')
-rw-r--r--lib/curl_endian.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_endian.h b/lib/curl_endian.h
index a8811c940..79eb3e8f6 100644
--- a/lib/curl_endian.h
+++ b/lib/curl_endian.h
@@ -28,6 +28,9 @@ 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 16-bit integer to little endian */
+void Curl_write16_le(const short value, unsigned char *buffer);
+
/* Converts a 32-bit integer to little endian */
void Curl_write32_le(const int value, unsigned char *buffer);