mirror of
https://github.com/CPunch/Laika.git
synced 2025-11-29 22:20:06 +00:00
lsocket.[ch] & lpeer.c: migrated to new vector API
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
#include "hashmap.h"
|
||||
#include "laika.h"
|
||||
#include "lsocket.h"
|
||||
#include "lmem.h"
|
||||
#include "lsocket.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
@@ -21,7 +21,8 @@ struct sLaika_pollEvent
|
||||
struct sLaika_pollList
|
||||
{
|
||||
struct hashmap *sockets;
|
||||
laikaM_newVector(struct sLaika_socket *, outQueue); /* holds sockets which have data needed to be sent */
|
||||
/* holds sockets which have data needed to be sent */
|
||||
laikaM_newVector(struct sLaika_socket *, outQueue);
|
||||
laikaM_newVector(struct sLaika_pollEvent, revents);
|
||||
#ifdef LAIKA_USE_EPOLL
|
||||
/* epoll */
|
||||
|
||||
Reference in New Issue
Block a user