MPD 0.17~git
Data Structures | Functions
src/tcp_socket.h File Reference
#include <glib.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  tcp_socket_handler

Functions

static GQuark tcp_socket_quark (void)
G_GNUC_MALLOC struct tcp_socket * tcp_socket_new (int fd, const struct tcp_socket_handler *handler, void *ctx)
void tcp_socket_free (struct tcp_socket *s)
bool tcp_socket_send (struct tcp_socket *s, const void *data, size_t length)

Function Documentation

void tcp_socket_free ( struct tcp_socket *  s)
G_GNUC_MALLOC struct tcp_socket* tcp_socket_new ( int  fd,
const struct tcp_socket_handler handler,
void *  ctx 
) [read]
static GQuark tcp_socket_quark ( void  ) [inline, static]

Definition at line 45 of file tcp_socket.h.

bool tcp_socket_send ( struct tcp_socket *  s,
const void *  data,
size_t  length 
)