Gearman Developer Documentation

libgearman/conn.c File Reference

Connection definitions. More...

#include "common.h"

Go to the source code of this file.

Functions

static gearman_return_t _con_setsockopt (gearman_con_st *con)
void gearman_con_set_host (gearman_con_st *con, const char *host)
void gearman_con_set_port (gearman_con_st *con, in_port_t port)
gearman_con_options_t gearman_con_options (const gearman_con_st *con)
void gearman_con_set_options (gearman_con_st *con, gearman_con_options_t options)
void gearman_con_add_options (gearman_con_st *con, gearman_con_options_t options)
void gearman_con_remove_options (gearman_con_st *con, gearman_con_options_t options)
gearman_return_t gearman_con_set_fd (gearman_con_st *con, int fd)
void * gearman_con_context (const gearman_con_st *con)
void gearman_con_set_context (gearman_con_st *con, const void *context)
gearman_return_t gearman_con_connect (gearman_con_st *con)
void gearman_con_close (gearman_con_st *con)
void gearman_con_reset_addrinfo (gearman_con_st *con)
gearman_return_t gearman_con_send (gearman_con_st *con, const gearman_packet_st *packet, bool flush)
size_t gearman_con_send_data (gearman_con_st *con, const void *data, size_t data_size, gearman_return_t *ret_ptr)
gearman_return_t gearman_con_flush (gearman_con_st *con)
gearman_packet_stgearman_con_recv (gearman_con_st *con, gearman_packet_st *packet, gearman_return_t *ret_ptr, bool recv_data)
size_t gearman_con_recv_data (gearman_con_st *con, void *data, size_t data_size, gearman_return_t *ret_ptr)
size_t gearman_con_read (gearman_con_st *con, void *data, size_t data_size, gearman_return_t *ret_ptr)
gearman_return_t gearman_con_set_events (gearman_con_st *con, short events)
gearman_return_t gearman_con_set_revents (gearman_con_st *con, short revents)
void * gearman_con_protocol_context (const gearman_con_st *con)
void gearman_con_set_protocol_context (gearman_con_st *con, const void *context)
void gearman_con_set_protocol_context_free_fn (gearman_con_st *con, gearman_con_protocol_context_free_fn *function)
void gearman_con_set_packet_pack_fn (gearman_con_st *con, gearman_packet_pack_fn *function)
void gearman_con_set_packet_unpack_fn (gearman_con_st *con, gearman_packet_unpack_fn *function)

Detailed Description

Connection definitions.

Definition in file conn.c.


Generated on Tue Oct 13 20:19:22 2009 by  doxygen 1.6.1