Data Structures |
struct | gearman_connection_st |
Enumerations |
enum | gearman_connection_options_t {
GEARMAN_CON_READY,
GEARMAN_CON_PACKET_IN_USE,
GEARMAN_CON_EXTERNAL_FD,
GEARMAN_CON_IGNORE_LOST_CONNECTION,
GEARMAN_CON_CLOSE_AFTER_FLUSH,
GEARMAN_CON_MAX
} |
enum | { gearman_connection_st::GEARMAN_CON_UNIVERSAL_ADDRINFO,
gearman_connection_st::GEARMAN_CON_UNIVERSAL_CONNECT,
gearman_connection_st::GEARMAN_CON_UNIVERSAL_CONNECTING,
gearman_connection_st::GEARMAN_CON_UNIVERSAL_CONNECTED
} |
enum | {
gearman_connection_st::GEARMAN_CON_SEND_STATE_NONE,
gearman_connection_st::GEARMAN_CON_SEND_UNIVERSAL_PRE_FLUSH,
gearman_connection_st::GEARMAN_CON_SEND_UNIVERSAL_FORCE_FLUSH,
gearman_connection_st::GEARMAN_CON_SEND_UNIVERSAL_FLUSH,
gearman_connection_st::GEARMAN_CON_SEND_UNIVERSAL_FLUSH_DATA
} |
enum | { gearman_connection_st::GEARMAN_CON_RECV_UNIVERSAL_NONE,
gearman_connection_st::GEARMAN_CON_RECV_UNIVERSAL_READ,
gearman_connection_st::GEARMAN_CON_RECV_STATE_READ_DATA
} |
Variables |
bool ready gearman_connection_st::LIBGEARMAN_BITFIELD |
bool packet_in_use gearman_connection_st::LIBGEARMAN_BITFIELD |
bool external_fd gearman_connection_st::LIBGEARMAN_BITFIELD |
bool ignore_lost_connection gearman_connection_st::LIBGEARMAN_BITFIELD |
bool close_after_flush gearman_connection_st::LIBGEARMAN_BITFIELD |
enum gearman_connection_st:: { ... } | gearman_connection_st::state |
enum gearman_connection_st:: { ... } | gearman_connection_st::send_state |
enum gearman_connection_st:: { ... } | gearman_connection_st::recv_state |
in_port_t | gearman_connection_st::port |
short | gearman_connection_st::events |
short | gearman_connection_st::revents |
int | gearman_connection_st::fd |
uint32_t | gearman_connection_st::created_id |
uint32_t | gearman_connection_st::created_id_next |
size_t | gearman_connection_st::send_buffer_size |
size_t | gearman_connection_st::send_data_size |
size_t | gearman_connection_st::send_data_offset |
size_t | gearman_connection_st::recv_buffer_size |
size_t | gearman_connection_st::recv_data_size |
size_t | gearman_connection_st::recv_data_offset |
gearman_universal_st * | gearman_connection_st::universal |
gearman_connection_st * | gearman_connection_st::next |
gearman_connection_st * | gearman_connection_st::prev |
void * | gearman_connection_st::context |
struct addrinfo * | gearman_connection_st::addrinfo |
struct addrinfo * | gearman_connection_st::addrinfo_next |
char * | gearman_connection_st::send_buffer_ptr |
gearman_packet_st * | gearman_connection_st::recv_packet |
char * | gearman_connection_st::recv_buffer_ptr |
void * | gearman_connection_st::protocol_context |
gearman_connection_protocol_context_free_fn * | gearman_connection_st::protocol_context_free_fn |
gearman_packet_pack_fn * | gearman_connection_st::packet_pack_fn |
gearman_packet_unpack_fn * | gearman_connection_st::packet_unpack_fn |
gearman_packet_st | gearman_connection_st::packet |
char | gearman_connection_st::host [NI_MAXHOST] |
char | gearman_connection_st::send_buffer [GEARMAN_SEND_BUFFER_SIZE] |
char | gearman_connection_st::recv_buffer [GEARMAN_RECV_BUFFER_SIZE] |
Detailed Description
This is a low level interface for gearman connections. This is used internally by both client and worker interfaces, so you probably want to look there first. This is usually used to write lower level clients, workers, proxies, or your own server.
Enumeration Type Documentation
Options for gearman_connection_st.
- Enumerator:
GEARMAN_CON_READY |
|
GEARMAN_CON_PACKET_IN_USE |
|
GEARMAN_CON_EXTERNAL_FD |
|
GEARMAN_CON_IGNORE_LOST_CONNECTION |
|
GEARMAN_CON_CLOSE_AFTER_FLUSH |
|
GEARMAN_CON_MAX |
|
Definition at line 134 of file constants.h.
anonymous enum [inherited] |
- Enumerator:
GEARMAN_CON_UNIVERSAL_ADDRINFO |
|
GEARMAN_CON_UNIVERSAL_CONNECT |
|
GEARMAN_CON_UNIVERSAL_CONNECTING |
|
GEARMAN_CON_UNIVERSAL_CONNECTED |
|
Definition at line 46 of file connection.h.
anonymous enum [inherited] |
- Enumerator:
GEARMAN_CON_SEND_STATE_NONE |
|
GEARMAN_CON_SEND_UNIVERSAL_PRE_FLUSH |
|
GEARMAN_CON_SEND_UNIVERSAL_FORCE_FLUSH |
|
GEARMAN_CON_SEND_UNIVERSAL_FLUSH |
|
GEARMAN_CON_SEND_UNIVERSAL_FLUSH_DATA |
|
Definition at line 52 of file connection.h.
anonymous enum [inherited] |
- Enumerator:
GEARMAN_CON_RECV_UNIVERSAL_NONE |
|
GEARMAN_CON_RECV_UNIVERSAL_READ |
|
GEARMAN_CON_RECV_STATE_READ_DATA |
|
Definition at line 59 of file connection.h.
Variable Documentation
bool { ... } ::LIBGEARMAN_BITFIELD [inherited] |
bool { ... } ::LIBGEARMAN_BITFIELD [inherited] |
bool { ... } ::LIBGEARMAN_BITFIELD [inherited] |
bool { ... } ::LIBGEARMAN_BITFIELD [inherited] |
bool { ... } ::LIBGEARMAN_BITFIELD [inherited] |