Felix von Leitner
dcbc90e2c6
add rangecheck.h
2006-04-17 04:33:40 +00:00
Felix von Leitner
2e87886163
further Windoze support (test/io5.c works, gatling still doesn't)
...
This is just to get gatling to work, I may remove it again after
that.
2005-09-09 22:12:23 +00:00
Felix von Leitner
237ff729b3
turns out the imult routines (which I never used) were incorrect.
...
Noted by Matthew Dempsky
open_* from open.h now open in large file mode
2005-07-15 20:57:07 +00:00
Felix von Leitner
4f5117a604
remove a few gcc 4 warnings
...
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
but TCP? never heard of it")
2005-05-05 15:55:41 +00:00
Felix von Leitner
61a51950d4
add iob_free and man page for iob_reset.
...
check in some windoze compat crap (still does not compile through for
windoze)
2005-03-08 14:56:36 +00:00
Felix von Leitner
0359400b79
add buffer_mmapread
2005-01-04 22:38:00 +00:00
Felix von Leitner
30ebd15584
add proxy, use errmsg.h in test/dnsip
2004-12-17 11:50:40 +00:00
Felix von Leitner
03e3922f17
fix uudecode to also decode one yenc file I came across
2004-12-05 00:40:23 +00:00
Felix von Leitner
992833074b
fix base64 decoding
2004-11-26 22:36:06 +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
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
bc4c322160
don't output newline if output is not going to terminal
2004-11-22 00:33:12 +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
095bdd7d90
darn!
2004-05-07 00:12:30 +00:00
Felix von Leitner
8184a8b322
make b64decode more useful
2004-05-06 20:44:14 +00:00
Felix von Leitner
ec2f230bb4
add fd passing functions
2004-02-27 14:47:31 +00:00
Felix von Leitner
cf6eb857ea
add two useful little test programs
2004-02-26 18:01:15 +00:00
Felix von Leitner
126e947ac2
add experimental prefetching support
2004-01-07 15:58:44 +00:00
Felix von Leitner
c99799d0f8
more alloca fixes
2004-01-06 23:35:06 +00:00
Felix von Leitner
73bfb8efe8
skip initial slashes
2003-11-23 21:09:18 +00:00
Felix von Leitner
ae0cba982b
add cescape stuff and two tests
2003-09-19 19:08:51 +00:00
Felix von Leitner
2d27cd435b
harmonize semantics of io_sendfile and iob_send
2003-09-19 15:26:00 +00:00
Felix von Leitner
fff6656e62
fix httperror in httpd test
2003-09-18 17:02:54 +00:00
Felix von Leitner
7a859cb66e
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
Felix von Leitner
44b65fa305
add stupid little httpd
2003-09-10 01:59:12 +00:00
Felix von Leitner
72a8e9a633
make iob_send return aggregate total
2003-09-08 20:52:00 +00:00
Felix von Leitner
63149c4ed9
add iob test
2003-09-08 20:32:43 +00:00
Felix von Leitner
f70b907066
make the accepted connections non-blocking, too
2003-09-06 02:44:21 +00:00
Felix von Leitner
3587b749d1
more error messages in io5 test
2003-09-06 00:07:23 +00:00
Felix von Leitner
092b5f860b
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
Felix von Leitner
7c5beaf741
reverse return code for safemult API to conform to newer djb APIs
2003-09-05 21:25:51 +00:00
Felix von Leitner
28c1c46cad
oops, forgot !
2003-09-05 21:12:24 +00:00
Felix von Leitner
4c41a88194
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
Felix von Leitner
4ab0bb3627
two test programs straight from djb's documentation
2003-09-02 00:14:33 +00:00
Felix von Leitner
bb3243fbe2
beginnings of the io library
2003-09-02 00:14:04 +00:00
Felix von Leitner
fae591cfae
change case_*b from char* to void* so it is function pointer compatible
...
to byte_*
2003-09-01 15:28:51 +00:00
Felix von Leitner
c4b0574495
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
Felix von Leitner
9517694e6d
small demo for token reading
2003-06-08 22:10:29 +00:00
Felix von Leitner
1e0728abd0
add buffer_fromsa (make virtual buffer from stralloc)
2003-06-08 22:10:10 +00:00
Felix von Leitner
3961f3e67e
better and more predication, improved documentation
2003-06-08 21:20:36 +00:00
Felix von Leitner
97f1262587
vd now sends argv[0] instead of "vd"
2003-06-08 18:16:01 +00:00
Felix von Leitner
ba35ddb4ee
one more scan test
2003-05-27 21:44:29 +00:00
Felix von Leitner
1c8392ab3e
improve range check
2003-05-27 20:31:25 +00:00
Felix von Leitner
93b1827877
add small scan test
2003-05-04 16:20:08 +00:00
Felix von Leitner
7f380d9e13
add beginnings of integer range checking
2003-05-01 21:25:04 +00:00
Felix von Leitner
0a989950f6
add long long fmt routines
2003-05-01 20:40:41 +00:00
Felix von Leitner
a62bdad92f
another small mldonkey helper
2003-04-28 11:20:25 +00:00
Felix von Leitner
bfe8319361
add scan_httpdate
2003-04-27 17:11:50 +00:00
Felix von Leitner
7751ba7082
add fmt_human, fmt_humank and fmt_httpdate
2003-04-27 16:11:47 +00:00