bfcd65c12b
Use typedefs for function pointer arguments
...
* include/wget/wget.h: Add typedefs
* libwget/cookie.c: Use typedefs
* libwget/css.c: Likewise
* libwget/css_url.c: Likewise
* libwget/decompressor.c: Likewise
* libwget/hashmap.c: Likewise
* libwget/hsts.c: Likewise
* libwget/http.c: Likewise
* libwget/init.c: Likewise
* libwget/io.c: Likewise
* libwget/list.c: Likewise
* libwget/logger.c: Likewise
* libwget/metalink.c: Likewise
* libwget/net.c: Likewise
* libwget/netrc.c: Likewise
* libwget/ocsp.c: Likewise
* libwget/private.h: Likewise
* libwget/robots.c: Likewise
* libwget/stringmap.c: Likewise
* libwget/tls_session.c: Likewise
* libwget/vector.c: Likewise
* libwget/xml.c: Likewise
* src/blacklist.c: Likewise
* src/host.c: Likewise
* src/options.c: Likewise
* src/wget.c: Likewise
* tests/stringmap_perf.c: Likewise
* tests/test.c: Likewise
2017-01-23 14:43:17 +01:00
27448004c1
* tests/stringmap_perf.c: Use wget_malloc if mmap not available
2017-01-06 12:14:16 +01:00
9568b0c87e
Rename include/libwget.h to include/wget/wget.h+wgetver.h
2016-09-30 09:47:32 +02:00
9cff7dd096
Fix printf format warnings
...
* tests/buffer_printf_perf.c: Fix printf format warnings
* tests/stringmap_perf.c: Likewise
* tests/test.c: Likewise
2016-06-14 15:55:53 +02:00
dd3c2f63b2
Updated copyright year for all relevant files
2016-01-25 13:06:21 +01:00
18bdc20576
Replaced strndup() by wget_strmemdup()
...
* examples/getstream.c, examples/print_css_urls2.c, libwget/cookie.c,
libwget/css_url.c, libwget/encoding.c, libwget/hsts.c,
libwget/html_url.c, libwget/http.c, libwget/metalink.c,
libwget/ocsp.c, libwget/robots.c, libwget/ssl_gnutls.c,
src/options.c, src/wget.c, tests/stringmap_perf.c,
tests/test-wget-1.c
Strndup() calls an additional strlen() on the input string.
This is normally not needed, and thus just consumes CPU cycles.
All calls to strndup() could be replaced by wget_strmemdup, which
basically allocates len+1 memory, calls memcpy and terminates with
a 0 byte.
2015-11-10 10:55:30 +01:00
0f8e49128a
Transfer copyright to Free Software Foundation, Inc.
2015-09-22 11:50:06 +02:00
c6b0e461a1
Transform Mget into Wget
2015-09-19 22:54:38 +02:00
6cdd208444
fix several issues found by Coverity
2015-03-07 22:55:17 +01:00
8c678e1cb5
make cross-compilable with MinGW on Linux
2014-08-29 11:57:23 +02:00
73f89e6f2a
fix type naming to mget type naming convention
2014-02-05 12:39:36 +01:00
b013655705
working on RFC 6797 HSTS (HTTP Strict Transport Security)
2014-01-31 17:51:54 +01:00
5105b58650
cleaned up hashmap/stringmap API
2013-03-29 17:35:43 +01:00
95f4251302
more stuff moved into libmget
2013-01-10 17:55:03 +01:00
9386b9e682
more documentation stuff
2013-01-04 17:56:34 +01:00
0e4972eb53
more auto* stuff
2013-01-03 12:05:27 +01:00
d0834f5512
using autotools
2012-11-24 17:08:11 +01:00
17e9f9ee86
directory structure changes
2012-11-21 18:40:38 +01:00
ea04a84c7f
some hashmap optimization
2012-11-21 12:05:01 +01:00