Skip to content

Commit 67c86d5

Browse files
committed
start adding reader
1 parent eaf554e commit 67c86d5

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

headers/reader.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#ifndef CSTD_WEBSOCKET_READER_H
2+
#define CSTD_WEBSOCKET_READER_H
3+
4+
#include "defs.h"
5+
#include <stdbool.h>
6+
struct ws_reader_queue_t;
7+
8+
struct ws_reader_t {
9+
struct ws_reader_queue_t *queue;
10+
};
11+
12+
bool ws_reader_init(struct ws_reader_t *reader) __nonnull((1));
13+
void ws_reader_free(struct ws_reader_t *reader) __nonnull((1));
14+
15+
#endif

src/reader.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "headers/reader.h"

0 commit comments

Comments
 (0)