ioloop-notify-none.c revision 0536ccb51d41e3078c3a9fa33e509fb4b2420f95
/* Copyright (c) 2003-2011 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop-private.h"
#ifdef IOLOOP_NOTIFY_NONE
#undef io_add_notify
enum io_notify_result
io_add_notify(const char *path ATTR_UNUSED,
io_callback_t *callback ATTR_UNUSED,
void *context ATTR_UNUSED, struct io **io_r)
{
*io_r = NULL;
return IO_NOTIFY_NOSUPPORT;
}
void io_loop_notify_remove(struct io *io ATTR_UNUSED)
{
}
void io_loop_notify_handler_deinit(struct ioloop *ioloop ATTR_UNUSED)
{
}
#endif