Gearman Public API Documentation

Typedefs
Types
Client Declarations | Worker Declarations

Typedefs

typedef struct gearman_universal_st gearman_universal_st
typedef struct
gearman_connection_st 
gearman_connection_st
typedef struct
gearman_command_info_st 
gearman_command_info_st
typedef gearman_return_tgearman_workload_fn )(gearman_task_st *task)
typedef gearman_return_tgearman_created_fn )(gearman_task_st *task)
typedef gearman_return_tgearman_data_fn )(gearman_task_st *task)
typedef gearman_return_tgearman_warning_fn )(gearman_task_st *task)
typedef gearman_return_tgearman_universal_status_fn )(gearman_task_st *task)
typedef gearman_return_tgearman_complete_fn )(gearman_task_st *task)
typedef gearman_return_tgearman_exception_fn )(gearman_task_st *task)
typedef gearman_return_tgearman_fail_fn )(gearman_task_st *task)
typedef gearman_return_tgearman_parse_server_fn )(const char *host, in_port_t port, void *context)
typedef void *( gearman_worker_fn )(gearman_job_st *job, void *context, size_t *result_size, gearman_return_t *ret_ptr)
typedef gearman_return_tgearman_event_watch_fn )(gearman_connection_st *con, short events, void *context)
typedef void *( gearman_malloc_fn )(size_t size, void *context)
typedef void( gearman_free_fn )(void *ptr, void *context)
typedef void( gearman_task_context_free_fn )(gearman_task_st *task, void *context)
typedef void( gearman_log_fn )(const char *line, gearman_verbose_t verbose, void *context)
typedef void( gearman_connection_protocol_context_free_fn )(gearman_connection_st *con, void *context)
typedef size_t( gearman_packet_pack_fn )(const gearman_packet_st *packet, gearman_connection_st *con, void *data, size_t data_size, gearman_return_t *ret_ptr)
typedef size_t( gearman_packet_unpack_fn )(gearman_packet_st *packet, gearman_connection_st *con, const void *data, size_t data_size, gearman_return_t *ret_ptr)

Typedef Documentation

Definition at line 245 of file constants.h.

Definition at line 246 of file constants.h.

Definition at line 248 of file constants.h.

Definition at line 255 of file constants.h.

Definition at line 256 of file constants.h.

Definition at line 257 of file constants.h.

Definition at line 258 of file constants.h.

Definition at line 259 of file constants.h.

Definition at line 260 of file constants.h.

Definition at line 261 of file constants.h.

Definition at line 262 of file constants.h.

typedef gearman_return_t( gearman_parse_server_fn)(const char *host, in_port_t port, void *context)

Definition at line 264 of file constants.h.

typedef void*( gearman_worker_fn)(gearman_job_st *job, void *context, size_t *result_size, gearman_return_t *ret_ptr)

Definition at line 268 of file constants.h.

typedef gearman_return_t( gearman_event_watch_fn)(gearman_connection_st *con, short events, void *context)
Todo:
this is only used by the server and should be made private.

Definition at line 275 of file constants.h.

typedef void*( gearman_malloc_fn)(size_t size, void *context)

Definition at line 278 of file constants.h.

typedef void( gearman_free_fn)(void *ptr, void *context)

Definition at line 279 of file constants.h.

typedef void( gearman_task_context_free_fn)(gearman_task_st *task, void *context)

Definition at line 281 of file constants.h.

typedef void( gearman_log_fn)(const char *line, gearman_verbose_t verbose, void *context)

Definition at line 284 of file constants.h.

Definition at line 287 of file constants.h.

typedef size_t( gearman_packet_pack_fn)(const gearman_packet_st *packet, gearman_connection_st *con, void *data, size_t data_size, gearman_return_t *ret_ptr)

Definition at line 290 of file constants.h.

typedef size_t( gearman_packet_unpack_fn)(gearman_packet_st *packet, gearman_connection_st *con, const void *data, size_t data_size, gearman_return_t *ret_ptr)

Definition at line 294 of file constants.h.