28 Commits

Author SHA1 Message Date
leitner
ddfdd4d077 add compiler.h to abstract gcc attributes 2020-11-08 00:29:35 +00:00
leitner
97368fbfa6 BSD build fix (hopefully)
move more #include to <libowfat/...>
2019-02-21 12:24:05 +00:00
leitner
1137831ddd make fastopen fall back to connect if len==0 2018-07-09 21:01:37 +00:00
leitner
ce595ae0cc add experimental iom API for multithreaded I/O multiplexing (in io.h) 2018-03-27 02:23:00 +00:00
leitner
b3bccb9d88 #include_next no longer needed 2018-03-26 22:43:20 +00:00
leitner
c60c2425ce hopefully fix the infinite loop in gatling 2014-10-19 01:52:36 +00:00
leitner
4fa4a524d2 add io_fd_flags so the caller can tell io_fd whether the socket is blocking
(saves one fcntl syscall)
2014-10-09 09:02:28 +00:00
leitner
25d9c5a6c7 add helpful #define HAVE_EAGAIN_READWRITE 2014-06-05 20:47:09 +00:00
leitner
39e7ee90bb introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz) 2014-06-05 20:43:01 +00:00
leitner
e175800a8c add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
2012-04-10 21:15:51 +00:00
leitner
4f1e1d300c make headers work in C++
add two more variable length integer encoding functions
2012-02-07 17:02:40 +00:00
leitner
928bfe5c09 for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
leitner
a367678710 wrong prototype 2007-10-17 11:50:11 +00:00
leitner
99c01ea831 make io_waituntil2 an official interface (saves one gettimeofday) 2007-10-13 21:39:31 +00:00
leitner
d468ea9eb7 add io_block 2006-04-17 05:07:43 +00:00
leitner
b48ce77792 add iob_write (to write an io batch through a callback) 2004-11-25 22:55:46 +00:00
leitner
696c5f872c add io_readwritefile, io_appendfile 2004-05-10 20:08:38 +00:00
leitner
70e112b892 add fd passing functions 2004-02-27 14:47:31 +00:00
leitner
745c4affc5 add io_socketpair 2004-02-27 13:58:17 +00:00
leitner
5935ca0eb8 minor comment fix 2003-11-26 22:48:46 +00:00
leitner
025063013b add io_finishandshutdown declaration 2003-11-01 00:09:49 +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
ea8e1cc90b add iob_adds
add cookies to io
2003-09-10 00:28:51 +00:00
leitner
dfe75af4bd add io_sendfile with BSD support 2003-09-08 17:36:31 +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
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
49818590ee beginnings of the io library 2003-09-02 00:14:04 +00:00
leitner
ccc0a23183 add int64 type to uint64.h
add io.h as per http://cr.yp.to/lib/io.html
2003-08-03 22:24:32 +00:00