summaryrefslogtreecommitdiff
path: root/lib/urlapi-int.h
Commit message (Collapse)AuthorAgeFilesLines
* tests: add urlapi unittestDaniel Gustafsson2018-12-111-0/+5
| | | | | | | | | | This adds a new unittest intended to cover the internal functions in the urlapi code, starting with parse_port(). In order to avoid name collisions in debug builds, parse_port() is renamed Curl_parse_port() since it will be exported. Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Marcel Raad <Marcel.Raad@teamviewer.com>
* headers: end all headers with guard commentDaniel Gustafsson2018-10-231-1/+1
| | | | | | | | | | | Most headerfiles end with a /* <headerguard> */ comment, but it was missing from some. The comment isn't the most important part of our code documentation but consistency has an intrinsic value in itself. This adds header guard comments to the files that were lacking it. Closes #3158 Reviewed-by: Jay Satiro <raysatiro@yahoo.com> Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* urlapi: fix support for address scope in IPv6 numerical addressesDaniel Stenberg2018-09-211-0/+4
| | | | Closes #3024
* URL-APIDaniel Stenberg2018-09-081-0/+29
See header file and man pages for API. All documented API details work and are tested in the 1560 test case. Closes #2842