/*
* Copyright (c) 2004 Andrey Panin <pazke@donpac.ru>
*
* This software is released under the MIT license.
*/
#include "lib.h"
#include "ioloop-private.h"
#include "ioloop-iolist.h"
{
int i, idx;
else {
i_unreached();
}
i_panic("io_add(0x%x) called twice fd=%d, callback=%p -> %p",
}
/* check if this was the first one */
for (i = 0; i < IOLOOP_IOLIST_IOS_PER_FD; i++) {
return FALSE;
}
return TRUE;
}
{
int i;
for (i = 0; i < IOLOOP_IOLIST_IOS_PER_FD; i++) {
else
}
}
return last;
}