Connection Definitions. More...
#include "common.h"
Go to the source code of this file.
Connection Definitions.
Definition in file connection.c.
void gearman_connection_reset_addrinfo | ( | gearman_connection_st * | connection | ) | [static] |
Definition at line 276 of file connection.c.
void gearman_connection_set_host | ( | gearman_connection_st * | connection, | |
const char * | host, | |||
in_port_t | port | |||
) |
Definition at line 198 of file connection.c.
gearman_return_t gearman_connection_set_fd | ( | gearman_connection_st * | connection, | |
int | fd | |||
) |
Definition at line 211 of file connection.c.
void* gearman_connection_context | ( | const gearman_connection_st * | connection | ) |
Definition at line 229 of file connection.c.
void gearman_connection_set_context | ( | gearman_connection_st * | connection, | |
void * | context | |||
) |
Definition at line 234 of file connection.c.
gearman_return_t gearman_connection_connect | ( | gearman_connection_st * | connection | ) |
Definition at line 239 of file connection.c.
void gearman_connection_close | ( | gearman_connection_st * | connection | ) |
Definition at line 244 of file connection.c.
gearman_return_t gearman_connection_send | ( | gearman_connection_st * | connection, | |
const gearman_packet_st * | packet, | |||
bool | flush | |||
) |
Definition at line 287 of file connection.c.
size_t gearman_connection_send_data | ( | gearman_connection_st * | connection, | |
const void * | data, | |||
size_t | data_size, | |||
gearman_return_t * | ret_ptr | |||
) |
Definition at line 426 of file connection.c.
gearman_return_t gearman_connection_flush | ( | gearman_connection_st * | connection | ) |
Definition at line 449 of file connection.c.
gearman_packet_st* gearman_connection_recv | ( | gearman_connection_st * | connection, | |
gearman_packet_st * | packet, | |||
gearman_return_t * | ret_ptr, | |||
bool | recv_data | |||
) |
Definition at line 670 of file connection.c.
size_t gearman_connection_recv_data | ( | gearman_connection_st * | connection, | |
void * | data, | |||
size_t | data_size, | |||
gearman_return_t * | ret_ptr | |||
) |
Definition at line 789 of file connection.c.
size_t gearman_connection_read | ( | gearman_connection_st * | connection, | |
void * | data, | |||
size_t | data_size, | |||
gearman_return_t * | ret_ptr | |||
) |
Definition at line 837 of file connection.c.
gearman_return_t gearman_connection_set_events | ( | gearman_connection_st * | connection, | |
short | events | |||
) |
Definition at line 905 of file connection.c.
gearman_return_t gearman_connection_set_revents | ( | gearman_connection_st * | connection, | |
short | revents | |||
) |
Definition at line 928 of file connection.c.
void* gearman_connection_protocol_context | ( | const gearman_connection_st * | connection | ) |
Definition at line 958 of file connection.c.
void gearman_connection_set_protocol_context | ( | gearman_connection_st * | connection, | |
void * | context | |||
) |
Definition at line 963 of file connection.c.
void gearman_connection_set_protocol_context_free_fn | ( | gearman_connection_st * | connection, | |
gearman_connection_protocol_context_free_fn * | function | |||
) |
Definition at line 968 of file connection.c.
void gearman_connection_set_packet_pack_fn | ( | gearman_connection_st * | connection, | |
gearman_packet_pack_fn * | function | |||
) |
Definition at line 974 of file connection.c.
void gearman_connection_set_packet_unpack_fn | ( | gearman_connection_st * | connection, | |
gearman_packet_unpack_fn * | function | |||
) |
Definition at line 980 of file connection.c.