Commit Graph

260 Commits (620f269149545606efa42a4114c4cc8c089b6047)
 

Author SHA1 Message Date
leitner b6258d3dfa remove obsolete extern from header files
leitner c080055248 make the accepted connections non-blocking, too
leitner f1c7c0462b brag about my io exploits ;)
leitner dc09a17215 fix
leitner b1a8110926 epoll now works enough for test/io5
leitner d213018a01 more kqueue/epoll
leitner c55706c7da BSD still sucks
leitner c6d746a042 more bsd compat
leitner b201df5c9e more BSD compat
leitner 402af4190d cvsignore the new tests and remove their results in make clean
leitner 61d7ecbdc2 add epoll and kqueue tests
leitner 149c908c8a more error messages in io5 test
leitner 824630a489 more BSD compat
leitner 08b68f1bdc EPROTO -> EINVAL for BSD backwards compatibility (did I mention that BSD *sucks*?)
leitner eb563422c8 add io_canread and io_canwrite
leitner 325a6176ca write a small socket server with io_wait integration and add and debug
io framework enough to support the test program
leitner 8cd9323a1b add waituntil and waituntil2 (internal)
leitner ef0495b5e2 reverse return code for safemult API to conform to newer djb APIs
leitner f2d8be239f oops, forgot !
leitner 63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
leitner e14b48d8b3 two test programs straight from djb's documentation
leitner 49818590ee beginnings of the io library
leitner c845e84c37 add man pages for array API
leitner 9e8043f4d8 change case_*b from char* to void* so it is function pointer compatible
to byte_*
leitner 5226dd010d change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
leitner d1df715971 add API for integer multiplication with overflow detection
leitner ccc0a23183 add int64 type to uint64.h
add io.h as per http://cr.yp.to/lib/io.html
leitner 2a90560c44 small demo for token reading
leitner a327b75831 add buffer_fromsa (make virtual buffer from stralloc)
leitner 558c6128fe better and more predication, improved documentation
leitner b36f12a121 document changes
leitner 36c6f04ed9 scan_uint and scan_ushort will now abort if the result does not fit in
uint or ushort as opposed to ulong.
leitner 11ff22f33c vd now sends argv[0] instead of "vd"
leitner 4a7692f4d7 one more scan test
leitner 7f3c1ccc0c improve range check
leitner 674a60b278 rename Makefile to GNUmakefile; create Makefile target
leitner 53b201046e extended socket API; you can now pass NULL to ignore results you don't
need
leitner f828d295ce shortcut str_len to strlen on dietlibc
leitner cd666a2b09 make str_len an alias for strlen when on diet libc
leitner 8f3278e62e add man page for scan_longlong
leitner 33498d7c2d add small scan test
leitner 09e6dc97e3 add long long scanning support
leitner 72ba2ad6b5 add beginnings of integer range checking
leitner 5674c5186d add long long fmt routines
leitner 734b248bdc fix typo in buffer_GETC
leitner f7c6b5b3ee another small mldonkey helper
leitner 9e85dc61a0 add scan_httpdate
leitner 40bba8865b add fmt_human, fmt_humank and fmt_httpdate
leitner a3b08eb5e5 add fmt_human and fmt_humank
leitner 0546ea048c add html encoders
add vd (mldonkey support program) as test for socket API