Commit Graph

673 Commits

Author SHA1 Message Date
Felix von Leitner f2d7a6b264 add iob_write (send io batch through callback, e.g. for SSL) 2004-11-25 23:01:44 +00:00
Felix von Leitner 645ecc0632 add iob_write (to write an io batch through a callback) 2004-11-25 22:55:46 +00:00
Felix von Leitner b0bb9eb23e add RETURN VALUE to man page 2004-11-25 21:56:48 +00:00
Felix von Leitner 6c4ad0514f remove warnings in tests 2004-11-25 21:52:35 +00:00
Felix von Leitner 084f24d25b #include <fmt.h> 2004-11-25 21:32:00 +00:00
Felix von Leitner b05bf23905 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
2004-11-25 21:29:35 +00:00
Felix von Leitner e3b165e9e8 add buffer_putm and buffer_putmflush 2004-11-25 20:51:53 +00:00
Felix von Leitner bb7c231fab add buffer_putsaflush 2004-11-25 20:21:31 +00:00
Felix von Leitner 429a61b461 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
2004-11-25 20:07:31 +00:00
Felix von Leitner bc4c322160 don't output newline if output is not going to terminal 2004-11-22 00:33:12 +00:00
Felix von Leitner 017557490a use madvise MADV_PREFETCH to implement iob_prefetch 2004-09-27 19:46:42 +00:00
Felix von Leitner f9ca13d8e3 man page update 2004-09-17 13:51:35 +00:00
Felix von Leitner b15ce9ec84 add url to solaris 10 event notification api 2004-09-13 11:59:10 +00:00
Felix von Leitner 21ddca0884 add { } while (0) trick to errmsg macros 2004-08-26 16:08:37 +00:00
Felix von Leitner bf99affbdb remove warning (changed API from int to long) 2004-08-01 22:51:33 +00:00
Felix von Leitner 4bb4f869c7 bump version 2004-07-29 11:12:53 +00:00
Felix von Leitner 9ad2b6d5c7 argh, my sed cannot do \< ?!? 2004-07-29 10:59:40 +00:00
Felix von Leitner 0fe63254a1 new Makefile, better dependencies for Makefile in GNUmakefile 2004-07-29 10:55:25 +00:00
Felix von Leitner 315ab58746 fix case where iob_send sends all from io batch, but then new data is
added and iob_send is called again
2004-07-21 16:35:31 +00:00
Felix von Leitner 1892543745 cosmetics: use write instead of writev if there is only one buffer to
write (looks nicer in strace)
2004-07-21 16:00:47 +00:00
Felix von Leitner f3ef6b7a19 oops, forgot to commit 2004-07-14 06:37:03 +00:00
Felix von Leitner f0e8c7cffb dns_name6_domain -> void
man page clarifications
2004-07-13 10:09:17 +00:00
Felix von Leitner af2e0e944f Uh, it's <stdlib.h> and not <unistd.h> 2004-07-12 14:06:30 +00:00
Felix von Leitner dd63632da8 include <unistd.h> in errmsg.h for exit() 2004-07-12 14:05:24 +00:00
Felix von Leitner c431accd41 Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
2004-06-03 16:45:30 +00:00
Felix von Leitner f4c853935a also support ip6.arpa in addition to ip6.int 2004-06-03 16:31:27 +00:00
Felix von Leitner 1213467cfe actually return 0 on success in io_passfd 2004-05-13 12:40:09 +00:00
Felix von Leitner c7adf4e307 add io_readwritefile, io_appendfile 2004-05-10 20:08:38 +00:00
Felix von Leitner 71cbad0f60 work around broken Linux sendfile API (offset 64-bit but count 32-bit) 2004-05-08 12:52:22 +00:00
Felix von Leitner 095bdd7d90 darn! 2004-05-07 00:12:30 +00:00
Felix von Leitner 53b69c215a somehow, errmsg_* keep disappearing 2004-05-07 00:09:51 +00:00
Felix von Leitner 8184a8b322 make b64decode more useful 2004-05-06 20:44:14 +00:00
Felix von Leitner abc843992b add sys/types.h 2004-05-06 14:15:07 +00:00
Felix von Leitner b25815b90d forgot to install errmsg.h 2004-05-05 23:06:47 +00:00
Felix von Leitner 3310b42779 new Makefile 2004-05-05 20:05:22 +00:00
Felix von Leitner 9d014e1f36 bsd compat 2004-05-05 20:04:03 +00:00
Felix von Leitner 56ac77f629 argh more bsd 2004-05-05 20:03:15 +00:00
Felix von Leitner 878fbf64ac bsd compat 2004-05-05 20:01:40 +00:00
Felix von Leitner 3973539546 add errmsg API 2004-05-05 16:36:00 +00:00
Felix von Leitner 21907d29cc slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)
2004-04-07 08:38:41 +00:00
Felix von Leitner d58c0dd920 another brown paper bag release 2004-03-28 01:54:28 +00:00
Felix von Leitner 10c9e4748d botched dependency 2004-03-28 01:49:35 +00:00
Felix von Leitner 4ce3cdc16f havealloca.a is now dynamically generated 2004-03-27 17:32:07 +00:00
Felix von Leitner ea77cdd5a0 document changes 2004-03-27 17:26:59 +00:00
Felix von Leitner 80759cdaad add alloca test 2004-03-27 17:26:06 +00:00
Felix von Leitner 9b6e746db3 version bump 2004-03-27 01:02:28 +00:00
Felix von Leitner 93918234e2 also remove havealloca.h on make clean 2004-03-27 00:58:03 +00:00
Felix von Leitner 0da1c0902d fix bug in mmap code path of io_sendfile (David Leadbeater) 2004-03-24 14:02:00 +00:00
Felix von Leitner 8a675787a2 fix embarassing bug 2004-03-12 23:20:42 +00:00
Felix von Leitner 9bbd54a4c9 fix another case in byte_rchr 2004-03-09 00:20:10 +00:00