Commit Graph

980 Commits (f621834f84cacf794463ea73ca1a9f859daebc30)
 

Author SHA1 Message Date
leitner fd4344f3c0 how could this ever have worked?
leitner 8946f912e8 typo
leitner 89c12ba545 typo, found by Tino Reichardt
leitner 34df761a0a add buffer_mmapread
leitner f6f16b116c botched updates
leitner b617d63d1e update dependencies
add errmsg_info and msg
leitner e520740f09 add proxy, use errmsg.h in test/dnsip
leitner 5553129f01 fix uudecode to also decode one yenc file I came across
leitner 77c5e333db signal EOF properly
leitner f3c6288559 fix base64 decoding
leitner bffb1dab90 mention prototype of io_write_callback
leitner 86cfc33dab add iob_write (send io batch through callback, e.g. for SSL)
leitner b48ce77792 add iob_write (to write an io batch through a callback)
leitner ccba2abe9b add RETURN VALUE to man page
leitner 0b30b66db1 remove warnings in tests
leitner ff026235d2 #include <fmt.h>
leitner 5eb1cdf888 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
leitner 38ef27207a add buffer_putm and buffer_putmflush
leitner 5dfea5617e add buffer_putsaflush
leitner 82b0bb6f39 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
leitner dd66bcb7c3 don't output newline if output is not going to terminal
leitner e95599085a use madvise MADV_PREFETCH to implement iob_prefetch
leitner 8873a442f2 man page update
leitner eb4e19fc23 add url to solaris 10 event notification api
leitner 132061b4d3 add { } while (0) trick to errmsg macros
leitner 897e787b5e remove warning (changed API from int to long)
leitner 156ba1d275 bump version
leitner 7c6b77840e argh, my sed cannot do \< ?!?
leitner 15502bb3c1 new Makefile, better dependencies for Makefile in GNUmakefile
leitner f4108178f2 fix case where iob_send sends all from io batch, but then new data is
added and iob_send is called again
leitner 523f6f4765 cosmetics: use write instead of writev if there is only one buffer to
write (looks nicer in strace)
leitner 2041392b9f oops, forgot to commit
leitner d3afa18c42 dns_name6_domain -> void
man page clarifications
leitner 155762ce19 Uh, it's <stdlib.h> and not <unistd.h>
leitner 112a38b9bb include <unistd.h> in errmsg.h for exit()
leitner 72382af11a Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
leitner 499ca6a307 also support ip6.arpa in addition to ip6.int
leitner 1e871b1c32 actually return 0 on success in io_passfd
leitner 696c5f872c add io_readwritefile, io_appendfile
leitner 11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit)
leitner ed1558cd3d darn!
leitner 4eb656485b somehow, errmsg_* keep disappearing
leitner afb0de8d34 make b64decode more useful
leitner 9e598be7e5 add sys/types.h
leitner 64465d5392 forgot to install errmsg.h
leitner 2b4cee341c new Makefile
leitner 768a46e304 argh more bsd
leitner a23757a317 bsd compat
leitner a6a00edd75 add errmsg API
leitner f26451c086 slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)