435 Commits

Author SHA1 Message Date
leitner
c574ab3641 two more iob fixes 2003-09-24 23:31:35 +00:00
leitner
c901631a00 embarassing cut&paste error 2003-09-24 22:51:40 +00:00
leitner
056760c5f1 add cescape stuff and two tests 2003-09-19 19:08:51 +00:00
leitner
a8f6a1c121 remove special case stralloc textcode functions
write generic stralloc and array textcode wrapper functions
change textcode API to use long instead of int
add cescape fmt and scan functions to textcode
add fmt_foldwhitespace to textcode
2003-09-19 19:08:13 +00:00
leitner
e86a457f5c harmonize semantics of io_sendfile and iob_send 2003-09-19 15:26:00 +00:00
leitner
85bfbeb420 only write dest if we actually parsed something 2003-09-19 14:54:40 +00:00
leitner
5b599cb67d fix httperror in httpd test 2003-09-18 17:02:54 +00:00
leitner
93e07c1174 add + to unsafe characters in fmt_urlencoded 2003-09-15 10:45:26 +00:00
leitner
7732d63465 cvsignore havesigio.h 2003-09-12 23:19:34 +00:00
leitner
8b3a1328a3 oops, forgot to add sigio test program 2003-09-12 23:18:51 +00:00
leitner
2a2e1ddc75 add sigio support
extend code to cope with edge triggered event notification
add io_eagain() so that you can notify io_wait if accept() returned EAGAIN
2003-09-12 22:03:51 +00:00
leitner
5a4d2cc732 add iob.h to installed header files 2003-09-12 11:39:02 +00:00
leitner
3e2f6d0439 add stupid little httpd 2003-09-10 01:59:12 +00:00
leitner
ea8e1cc90b add iob_adds
add cookies to io
2003-09-10 00:28:51 +00:00
leitner
c2453002d3 add small explanation to iob.h 2003-09-08 21:05:27 +00:00
leitner
6b59c8aee7 add TCP_CORK support 2003-09-08 20:58:40 +00:00
leitner
8fd1875041 make iob_send return aggregate total 2003-09-08 20:52:00 +00:00
leitner
3c4f34b95e add loop 2003-09-08 20:48:08 +00:00
leitner
63ba06c763 add iob test 2003-09-08 20:32:43 +00:00
leitner
a36316a0a5 bsd sendfile 2003-09-08 20:31:41 +00:00
leitner
7e7f07f382 alloca.h 2003-09-08 20:31:01 +00:00
leitner
4c2fb93a53 experimental io_batch implementation 2003-09-08 20:29:39 +00:00
leitner
eb554a0ceb open files in large file mode 2003-09-08 17:43:02 +00:00
leitner
1bd720d8a4 add io_timeouted 2003-09-08 17:37:23 +00:00
leitner
dfe75af4bd add io_sendfile with BSD support 2003-09-08 17:36:31 +00:00
leitner
b6258d3dfa remove obsolete extern from header files 2003-09-06 23:49:47 +00:00
leitner
c080055248 make the accepted connections non-blocking, too 2003-09-06 02:44:21 +00:00
leitner
f1c7c0462b brag about my io exploits ;) 2003-09-06 01:39:19 +00:00
leitner
dc09a17215 fix 2003-09-06 01:37:54 +00:00
leitner
b1a8110926 epoll now works enough for test/io5 2003-09-06 01:36:50 +00:00
leitner
d213018a01 more kqueue/epoll 2003-09-06 01:15:00 +00:00
leitner
c55706c7da BSD still sucks 2003-09-06 00:56:21 +00:00
leitner
c6d746a042 more bsd compat 2003-09-06 00:55:17 +00:00
leitner
b201df5c9e more BSD compat 2003-09-06 00:54:27 +00:00
leitner
402af4190d cvsignore the new tests and remove their results in make clean 2003-09-06 00:53:05 +00:00
leitner
61d7ecbdc2 add epoll and kqueue tests 2003-09-06 00:52:11 +00:00
leitner
149c908c8a more error messages in io5 test 2003-09-06 00:07:23 +00:00
leitner
824630a489 more BSD compat 2003-09-06 00:03:27 +00:00
leitner
08b68f1bdc EPROTO -> EINVAL for BSD backwards compatibility (did I mention that BSD *sucks*?) 2003-09-05 23:59:17 +00:00
leitner
eb563422c8 add io_canread and io_canwrite 2003-09-05 22:59:58 +00:00
leitner
325a6176ca write a small socket server with io_wait integration and add and debug
io framework enough to support the test program
2003-09-05 22:59:40 +00:00
leitner
8cd9323a1b add waituntil and waituntil2 (internal) 2003-09-05 21:29:05 +00:00
leitner
ef0495b5e2 reverse return code for safemult API to conform to newer djb APIs 2003-09-05 21:25:51 +00:00
leitner
f2d8be239f oops, forgot ! 2003-09-05 21:12:24 +00:00
leitner
63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
2003-09-05 21:09:14 +00:00
leitner
e14b48d8b3 two test programs straight from djb's documentation 2003-09-02 00:14:33 +00:00
leitner
49818590ee beginnings of the io library 2003-09-02 00:14:04 +00:00
leitner
c845e84c37 add man pages for array API 2003-09-01 17:59:12 +00:00
leitner
9e8043f4d8 change case_*b from char* to void* so it is function pointer compatible
to byte_*
2003-09-01 15:28:51 +00:00
leitner
5226dd010d change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
2003-08-26 17:58:14 +00:00