ApertureOS
priv_socket.h
Go to the documentation of this file.
1 #ifndef _PRIV_SOCKET_PROC_H_
2 #define _PRIV_SOCKET_PROC_H_
3 
4 #include "types.h"
5 #include "socket.h"
6 
7 typedef struct
8 {
14  uint32_t max_connections;
15  uint32_t cur_connections;
16  char *name;
17 } SocketInfo;
18 
19 
20 #endif
SOCK_NOTIFICATIONS notifications
Definition: priv_socket.h:13
Sock_WriteAsync write
Definition: priv_socket.h:10
uint32_t(* Sock_SeekAsync)(uint64_t offset, int whence)
A pointer to a function that asynchronously performs a Socket seek.
Definition: socket.h:16
Sock_ReadAsync read
Definition: priv_socket.h:9
SOCK_FEATURES flags
Definition: priv_socket.h:12
uint32_t(* Sock_ReadAsync)(uint8_t *buffer, uint32_t size)
A pointer to a function that asynchronously performs a Socket read.
Definition: socket.h:13
char * name
Definition: priv_socket.h:16
uint32_t max_connections
Definition: priv_socket.h:14
SOCK_FEATURES
Socket features.
Definition: socket.h:34
Sock_SeekAsync seek
Definition: priv_socket.h:11
uint32_t cur_connections
Definition: priv_socket.h:15
SOCK_NOTIFICATIONS
Socket notifications.
Definition: socket.h:45
uint32_t(* Sock_WriteAsync)(uint8_t *src_buf, uint32_t size)
A pointer to a function that asynchronously performs a Socket write.
Definition: socket.h:19
Definition: priv_socket.h:7