From 5ae6dae696c01184d12fdb12b5922e4cf6a9d16a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 7 May 2011 20:12:04 -0700 Subject: [PATCH] Stub out check, prepare, idle, ref functions --- oio-unix.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/oio-unix.c b/oio-unix.c index 40e92040..9fc4fb7e 100644 --- a/oio-unix.c +++ b/oio-unix.c @@ -848,3 +848,58 @@ void oio_req_init(oio_req* req, oio_handle* handle, void* cb) { req->handle = handle; ngx_queue_init(&req->queue); } + + +int oio_prepare_init(oio_handle* handle, oio_close_cb close_cb, void* data) { + assert(0 && "implement me"); +} + + +int oio_prepare_start(oio_handle* handle, oio_loop_cb cb) { + assert(0 && "implement me"); +} + + +int oio_prepare_stop(oio_handle* handle) { + assert(0 && "implement me"); +} + + +int oio_check_init(oio_handle* handle, oio_close_cb close_cb, void* data) { + assert(0 && "implement me"); +} + + +int oio_check_start(oio_handle* handle, oio_loop_cb cb) { + assert(0 && "implement me"); +} + + +int oio_check_stop(oio_handle* handle) { + assert(0 && "implement me"); +} + + +void oio_ref() { + assert(0 && "implement me"); +} + + +void oio_unref() { + assert(0 && "implement me"); +} + + +int oio_idle_init(oio_handle* handle, oio_close_cb close_cb, void* data) { + assert(0 && "implement me"); +} + + +int oio_idle_start(oio_handle* handle, oio_loop_cb cb) { + assert(0 && "implement me"); +} + + +int oio_idle_stop(oio_handle* handle) { + assert(0 && "implement me"); +}