1
0
mirror of https://github.com/CPunch/Laika.git synced 2026-01-24 19:00:49 +00:00

Lib: minor refactoring, more lcontent.c boilerplate

This commit is contained in:
2022-05-17 10:37:58 -05:00
parent b02f48c006
commit 83002faa62
7 changed files with 108 additions and 31 deletions

View File

@@ -51,6 +51,7 @@
#include <fcntl.h>
#include <stdbool.h>
#include "laika.h"
#include "lsodium.h"
typedef enum {
@@ -60,7 +61,6 @@ typedef enum {
RAWSOCK_POLL
} RAWSOCKCODE;
struct sLaika_socket;
typedef bool (*pollEvent)(struct sLaika_socket *sock);
typedef void (*pollFailEvent)(struct sLaika_socket *sock, void *uData);