Squash commits for public release

This commit is contained in:
2025-02-12 09:54:05 -05:00
commit 7118adc514
1108 changed files with 80873 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#ifndef _KERNEL_IO_SOCKETS_SOCKET_H
#define _KERNEL_IO_SOCKETS_SOCKET_H
#include <fs/vfs.h>
#include <libkern/syscall_structs.h>
#include <libkern/types.h>
#define MAX_SOCKET_COUNT 32
int socket_create(int domain, int type, int protocol, file_descriptor_t* fd, file_ops_t* ops);
socket_t* socket_duplicate(socket_t* sock);
int socket_put(socket_t* sock);
#endif /* _KERNEL_IO_SOCKETS_SOCKET_H */