bio_socket.h File Reference

#include <gwenhywfar/bufferedio.h>
#include <gwenhywfar/inetsocket.h>
Include dependency graph for bio_socket.h:

Go to the source code of this file.

Functions

GWENHYWFAR_API GWEN_BUFFEREDIOGWEN_BufferedIO_Socket_new (GWEN_SOCKET *sock)

Function Documentation

GWENHYWFAR_API GWEN_BUFFEREDIO* GWEN_BufferedIO_Socket_new ( GWEN_SOCKET sock  ) 

Create a buffered IO context using an already open socket. This socket will automatically be closed upon GWEN_BufferedIO_Close. This function takes over ownership for that socket ! This context can be free'd using GWEN_BufferedIO_free.

Definition at line 225 of file bio_socket.c.

References GWEN_BufferedIO_new(), GWEN_BufferedIO_SetCloseFn(), GWEN_BufferedIO_SetReadFn(), GWEN_BufferedIO_SetTimeout(), GWEN_BufferedIO_SetWriteFn(), GWEN_BufferedIO_Socket__Close(), GWEN_BufferedIO_Socket__Read(), GWEN_BufferedIO_Socket__Write(), GWEN_BufferedIO_Socket_FreeData(), GWEN_BufferedIO_Socket_Table__new(), and GWEN_INHERIT_SETDATA.

Here is the call graph for this function:

Generated on Mon Jul 5 22:52:58 2010 for gwenhywfar by  doxygen 1.6.3