obj: add read() and write() object callbacks

This commit is contained in:
2023-05-14 21:11:32 +01:00
parent 0238008986
commit d02d05d922
10 changed files with 91 additions and 28 deletions

11
include/socks/flags.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef SOCKS_FLAGS_H_
#define SOCKS_FLAGS_H_
#include <stdint.h>
typedef enum {
S_NORMAL = 0x00u,
S_NOBLOCK = 0x01u,
} socks_flags_t;
#endif