summaryrefslogtreecommitdiff
path: root/lib/curl_endian.c
Commit message (Collapse)AuthorAgeFilesLines
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* copyright: make repository REUSE compliantmax.mehl2022-06-131-1/+3
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* curl_endian: remove the unused Curl_write64_le functionDaniel Stenberg2021-06-201-42/+0
| | | | | | The last usage was removed in cca455a36 Closes #7280
* config: remove CURL_SIZEOF_CURL_OFF_T use only SIZEOF_CURL_OFF_TDaniel Stenberg2021-03-111-3/+3
| | | | | | | Make the code consistently use a single name for the size of the "curl_off_t" type. Closes #6702
* copyright: fix year rangesDaniel Stenberg2020-11-051-1/+1
| | | | Follow-up from 4d2f8006777
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* lib: fix warnings found when porting to NuttXXiang Xiao2019-12-271-1/+1
| | | | | | | | | | | | - Undefine DEBUGASSERT in curl_setup_once.h in case it was already defined as a system macro. - Don't compile write32_le in curl_endian unless CURL_SIZEOF_CURL_OFF_T > 4, since it's only used by Curl_write64_le. - Include <arpa/inet.h> in socketpair.c. Closes https://github.com/curl/curl/pull/4756
* cleanup: make local functions staticDaniel Stenberg2019-02-101-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | urlapi: turn three local-only functions into statics conncache: make conncache_find_first_connection static multi: make detach_connnection static connect: make getaddressinfo static curl_ntlm_core: make hmac_md5 static http2: make two functions static http: make http_setup_conn static connect: make tcpnodelay static tests: make UNITTEST a thing to mark functions with, so they can be static for normal builds and non-static for unit test builds ... and mark Curl_shuffle_addr accordingly. url: make up_free static setopt: make vsetopt static curl_endian: make write32_le static rtsp: make rtsp_connisdead static warnless: remove unused functions memdebug: remove one unused function, made another static
* curl_endian: remove unused functionsDaniel Stenberg2017-06-021-113/+1
| | | | Closes #1529
* Declare endian read functions argument as a const pointer.Patrick Monnerat2016-11-241-9/+9
| | | | This is done for all functions of the form Curl_read[136][624]_[lb]e.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* curl_endian: Fixed build when 64-bit integers are not supported (Part 2)Steve Holme2015-01-161-0/+3
| | | | Missed Curl_read64_be() in commit bb12d44471 :(
* curl_endian: Fixed build when 64-bit integers are not supportedSteve Holme2015-01-161-1/+4
| | | | | Bug: http://curl.haxx.se/mail/lib-2015-01/0094.html Reported-by: John E. Malmberg
* endian: Fixed bit-shift in 64-bit integer read functionsSteve Holme2015-01-021-4/+4
| | | | | | From commit 43792592ca and 4bb5a351b2. Reported-by: Michael Osipov
* endian: Added big endian read functionsSteve Holme2015-01-011-0/+73
|
* endian: Added 64-bit integer read functionSteve Holme2015-01-011-1/+36
|
* endian: Added 16-bit integer write functionSteve Holme2014-12-311-0/+17
|
* endian: Fixed Linux compilation issuesSteve Holme2014-12-311-0/+105
Having files named endian.[c|h] seemed to cause issues under Linux so renamed them both to have the curl_ prefix in the filenames.