Move fd info struct to socket-fd.c
This commit is contained in:
parent
518903483d
commit
112360c4b1
@ -47,12 +47,6 @@
|
|||||||
* @file socket.h
|
* @file socket.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct guac_socket_fd_data {
|
|
||||||
|
|
||||||
int fd;
|
|
||||||
|
|
||||||
} guac_socket_fd_data;
|
|
||||||
|
|
||||||
typedef struct guac_socket guac_socket;
|
typedef struct guac_socket guac_socket;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -56,6 +56,12 @@
|
|||||||
#include "socket.h"
|
#include "socket.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
|
||||||
|
typedef struct guac_socket_fd_data {
|
||||||
|
|
||||||
|
int fd;
|
||||||
|
|
||||||
|
} guac_socket_fd_data;
|
||||||
|
|
||||||
ssize_t __guac_socket_fd_read_handler(guac_socket* socket,
|
ssize_t __guac_socket_fd_read_handler(guac_socket* socket,
|
||||||
void* buf, size_t count) {
|
void* buf, size_t count) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user