Commit Graph

40 Commits

Author SHA1 Message Date
Bert Belder
a379649899 Add handle->write_queue_size support for windows 2011-05-09 23:55:11 +02:00
Ryan Dahl
8f9ff78413 oio_err -> oio_err_t 2011-05-09 02:30:11 -07:00
Ryan Dahl
cc72a0d1ed unix: implement OIO_ASYNC
Had to hack up the test to be inline with how libev does things.
2011-05-09 02:25:03 -07:00
Ryan Dahl
67118c0b58 unix: initial implementation of prepare, check, idle
Had to comment out a few of the asserts in the test.
2011-05-09 01:02:06 -07:00
Bert Belder
8718c78ad0 oio_async or The Most Half-Assed Api In The Universe™
(apologies for my rant)
2011-05-09 02:15:28 +02:00
Ryan Dahl
4dd0a9cd73 Comment style... 2011-05-08 02:44:04 -07:00
Ryan Dahl
ba31e8d0fa Add _t to typedef structs 2011-05-08 02:40:39 -07:00
Ryan Dahl
20f38812e3 oio_write should have a more readable sig 2011-05-07 20:08:56 -07:00
Bert Belder
816eb1fa9e Update API 2011-05-07 21:54:06 +02:00
Bert Belder
969e026999 typo 2011-05-07 03:48:13 +02:00
Bert Belder
655f030f2e api for prepare/check/idle callbacks 2011-05-07 02:56:41 +02:00
Ryan Dahl
7de6861146 shutdown half-implemented on unix 2011-05-03 16:57:05 -07:00
Ryan Dahl
d4289f47fc Update unix backend to read_start/read_stop API 2011-05-02 18:15:17 -07:00
Bert Belder
61c91120e5 Reorganize some stuff in oio.h 2011-05-03 02:01:59 +02:00
Bert Belder
1a76881cb0 Yet another oio_read api. Hopefully this one sticks. 2011-05-03 00:31:22 +02:00
Ryan Dahl
210bcdd49e New oio_read API 2011-04-30 13:42:13 -07:00
Ryan Dahl
5dbe9d622e Fix headers for ssize_t 2011-04-30 13:28:18 -07:00
Ryan Dahl
40bb272a0c style 2011-04-26 11:43:09 -07:00
Ryan Dahl
9539443905 Partial implementation of buffer writes on unix.
Hitting callstack overflow problem in echo-server.
2011-04-26 11:38:20 -07:00
Bert Belder
a6430f4121 More bind error tests 2011-04-26 03:48:08 +02:00
Bert Belder
c18d6649f8 Style 2011-04-22 05:09:58 +02:00
Bert Belder
2fdf161e61 Windows: better infrastructure for closing handles. 2011-04-21 17:20:33 +02:00
Bert Belder
97f9404ac0 Define oio_err earlier 2011-04-20 22:34:01 +02:00
Bert Belder
a4fb171087 oio_errno -> oio_err_code
`errno` can't be used as a struct member on windows.
2011-04-20 03:16:57 +02:00
Bert Belder
b6d4bf16a9 Finalize error handling api. Breaks unix and windows.
Closes #15
Closes #18
2011-04-20 02:47:49 +02:00
Bert Belder
67a3fa24dc Revert "Remove oio_err - use ints"
This reverts commit 111536c9e5.
2011-04-19 23:48:47 +02:00
Bert Belder
8a187171ed Remove oio_write2.
Closes #20
2011-04-19 17:04:31 +02:00
Ryan Dahl
111536c9e5 Remove oio_err - use ints 2011-04-19 02:29:36 -07:00
Ryan Dahl
61e1f5f3c9 s/oio_tcp_handle_init/oio_tcp_init/ 2011-04-18 13:01:50 -07:00
Ryan Dahl
8f6a175e9d s/oio_tcp_handle_accept/oio_accept/ 2011-04-18 12:53:02 -07:00
Ryan Dahl
cf4fbc0925 Add copyright headers, license file.
closes #17.
2011-04-18 11:11:30 -07:00
Ryan Dahl
c3eda7a4da oio_tcp_handle_accept() does not require initialization of client
closes #13.
2011-04-18 03:20:05 -07:00
Ryan Dahl
d546a3115f API Change: Remove unnecessary params from oio_tcp_handle_accept()
closes #13.
2011-04-18 00:12:36 -07:00
Ryan Dahl
2ba25c8249 API change: oio_tcp_handle_init() required before oio_accept()
Fixes close_cb_stack on UNIX.
2011-04-17 22:51:13 -07:00
Ryan Dahl
d3ba74a681 add version 2011-04-17 19:36:04 -07:00
Ryan Dahl
01cd1c5b17 oio.a compiles - totally broken 2011-04-14 12:58:24 -07:00
Bert Belder
23416dd909 Consisten naming, declare functions static, line length 2011-04-12 23:33:11 +02:00
Bert Belder
34f69db83a Windows: first shot at oio_timeout support 2011-04-12 20:39:14 +02:00
Bert Belder
11ee00f08c Move oio_req_s and oio_handle_s back to oio.h; Windows improvements 2011-04-09 01:27:29 +02:00
Bert Belder
39d31a100f ol -> oio 2011-04-07 11:12:18 +02:00