summaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.h
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.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* lib: make Curl_gethostname accept a const pointerEmil Engler2020-08-271-2/+2
| | | | | | | The address of that variable never gets changed, only the data in it so why not make it a "char * const"? Closes #5866
* copyrights: fix copyright year rangeDaniel Stenberg2019-11-081-1/+1
| | | | | | | | .. because checksrc's copyright year check stopped working. Ref: https://github.com/curl/curl/pull/4547 Closes https://github.com/curl/curl/pull/4549
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* HOSTNAME_MAX: Moved to curl_gethostname.hSteve Holme2011-09-251-0/+4
| | | | | Moved HOSTNAME_MAX #define into curl_gethostname.h rather than being locally defined in curl_gethostname.c, curl_ntlm_msgs.c and smtp.c.
* build: allow NTLM tests to run on more build configurationsU-D5B1PQ1J\Administrador2010-08-071-8/+1
|
* NTLM tests: boost coverage by forcing the hostnameKamil Dudka2010-07-301-0/+34
A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM test-cases to override the system implementation of gethostname(). It makes it possible to test the NTLM authentication for exact match, and this way test the implementation of MD4 and DES. If LD_PRELOAD doesn't work, a debug build willl also workk as debug builds are now made to prefer a specific environment variable and will then return that content as host name instead of the actual one. Kamil wrote the bulk of this, Daniel Stenberg polished it.