summaryrefslogtreecommitdiff
path: root/lib/curlx.h
Commit message (Collapse)AuthorAgeFilesLines
* snprintf: renamed and we now only use msnprintf()Daniel Stenberg2018-11-231-6/+5
| | | | | | | | | | | The function does not return the same value as snprintf() normally does, so readers may be mislead into thinking the code works differently than it actually does. A different function name makes this easier to detect. Reported-by: Tomas Hoger Assisted-by: Daniel Gustafsson Fixes #3296 Closes #3297
* whitespace fixesViktor Szakats2018-09-231-1/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* curlx: the timeval functions are no longer provided as curlx_*Daniel Stenberg2017-10-301-11/+1
| | | | | Pointed-out-by: Dmitri Tikhonov Bug: #2034
* strcase: make the tool use curl_str[n]equal insteadDaniel Stenberg2016-10-311-2/+0
| | | | | | | | As they are after all part of the public API. Saves space and reduces complexity. Remove the strcase defines from the curlx_ family. Suggested-by: Dan Fandrich Idea: https://curl.haxx.se/mail/lib-2016-10/0136.html
* curl_strequal: part of public API/ABI, needs to be keptDaniel Stenberg2016-10-311-2/+2
| | | | | | These two public functions have been mentioned as deprecated since a very long time but since they are still part of the API and ABI we need to keep them around.
* strcasecompare: all case insensitive string compares ignore locale nowDaniel Stenberg2016-10-311-3/+2
| | | | | We had some confusions on when each function was used. We should not act differently on different locales anyway.
* strcasecompare: is the new name for strequal()Daniel Stenberg2016-10-311-5/+5
| | | | | | | ... to make it less likely that we forget that the function actually does case insentive compares. Also replaced several invokes of the function with a plain strcmp when case sensitivity is not an issue (like comparing with "-").
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* vtls: use curl_printf.h all overDaniel Stenberg2015-03-031-3/+2
| | | | No need to use _MPRINTF_REPLACE internally.
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
* build: make use of 76 lib/*.h renamed filesYang Tse2012-12-281-11/+11
| | | | | | 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
* lib/*.h: use our standard naming scheme for header inclusion guardsYang Tse2012-12-281-3/+4
|
* Typo fixes.Brad Hards2010-12-211-1/+1
|
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* fix compiler warningYang Tse2010-02-261-0/+1
|
* convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() andYang Tse2010-02-221-0/+7
| | | | | curlx_ultouc(), exposing them through curlx.h to allow proper code reuse later in our test harness.
* - Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses forDaniel Stenberg2009-07-091-0/+3
| | | | | setting a file descriptor non-blocking. Used by the functionality Eric himself brough on June 15th.
* Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper functionDaniel Stenberg2008-10-161-1/+1
| | | | used in strequal.c so now all test cases run fine for me again.
* - Pascal Terjan filed bug #2154627Daniel Stenberg2008-10-151-1/+2
| | | | | | | | | | | (http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl uses strcasecmp() in multiple places where it causes failures when the Turkish locale is used. This is because 'i' and 'I' isn't the same letter so strcasecmp() on those letters are different in Turkish than in English (or just about all other languages). I thus introduced a totally new internal function in libcurl (called Curl_ascii_equal) for doing case insentive comparisons for english-(ascii?) style strings that thus will make "file" and "FILE" match even if the Turkish locale is selected.
* Update copyright year, since the file has been modifiedYang Tse2006-10-271-1/+1
|
* Undefine symbols before redefining them.Gisle Vanem2006-07-061-1/+13
|
* delete trailing whitespaceDaniel Stenberg2004-05-241-5/+5
|
* New header file that offers easy access to the curlx_ functions for an app.Daniel Stenberg2004-04-301-0/+95
curlx_ functions are NOT part of the offical API, but only available as source code functions from the lib directory in case of need.