Move fd info struct to socket-fd.c

This commit is contained in:
Michael Jumper 2012-10-19 13:46:16 -07:00
parent 518903483d
commit 112360c4b1
2 changed files with 6 additions and 6 deletions

View File

@ -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;
/** /**

View File

@ -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) {