#define GEARMAN_DEFAULT_TCP_HOST "127.0.0.1" |
Definition at line 27 of file constants.h.
#define GEARMAN_DEFAULT_TCP_PORT 4730 |
Definition at line 28 of file constants.h.
#define GEARMAN_DEFAULT_SOCKET_TIMEOUT 10 |
Definition at line 29 of file constants.h.
#define GEARMAN_DEFAULT_SOCKET_SEND_SIZE 32768 |
Definition at line 30 of file constants.h.
#define GEARMAN_DEFAULT_SOCKET_RECV_SIZE 32768 |
Definition at line 31 of file constants.h.
#define GEARMAN_MAX_ERROR_SIZE 1024 |
Definition at line 32 of file constants.h.
#define GEARMAN_PACKET_HEADER_SIZE 12 |
Definition at line 33 of file constants.h.
#define GEARMAN_JOB_HANDLE_SIZE 64 |
Definition at line 34 of file constants.h.
#define GEARMAN_OPTION_SIZE 64 |
Definition at line 35 of file constants.h.
#define GEARMAN_UNIQUE_SIZE 64 |
Definition at line 36 of file constants.h.
#define GEARMAN_MAX_COMMAND_ARGS 8 |
Definition at line 37 of file constants.h.
#define GEARMAN_ARGS_BUFFER_SIZE 128 |
Definition at line 38 of file constants.h.
#define GEARMAN_SEND_BUFFER_SIZE 8192 |
Definition at line 39 of file constants.h.
#define GEARMAN_RECV_BUFFER_SIZE 8192 |
Definition at line 40 of file constants.h.
#define GEARMAN_WORKER_WAIT_TIMEOUT (10 * 1000) |
Definition at line 41 of file constants.h.
typedef struct gearman_st gearman_st |
Definition at line 44 of file constants.h.
typedef struct gearman_con_st gearman_con_st |
Definition at line 45 of file constants.h.
typedef struct gearman_packet_st gearman_packet_st |
Definition at line 46 of file constants.h.
typedef struct gearman_command_info_st gearman_command_info_st |
Definition at line 47 of file constants.h.
typedef struct gearman_task_st gearman_task_st |
Definition at line 48 of file constants.h.
typedef struct gearman_client_st gearman_client_st |
Definition at line 49 of file constants.h.
typedef struct gearman_job_st gearman_job_st |
Definition at line 50 of file constants.h.
typedef struct gearman_worker_st gearman_worker_st |
Definition at line 51 of file constants.h.
typedef struct gearman_worker_function_st gearman_worker_function_st |
Definition at line 52 of file constants.h.
typedef gearman_return_t( gearman_workload_fn)(gearman_task_st *task) |
Definition at line 394 of file constants.h.
typedef gearman_return_t( gearman_created_fn)(gearman_task_st *task) |
Definition at line 395 of file constants.h.
typedef gearman_return_t( gearman_data_fn)(gearman_task_st *task) |
Definition at line 396 of file constants.h.
typedef gearman_return_t( gearman_warning_fn)(gearman_task_st *task) |
Definition at line 397 of file constants.h.
typedef gearman_return_t( gearman_status_fn)(gearman_task_st *task) |
Definition at line 398 of file constants.h.
typedef gearman_return_t( gearman_complete_fn)(gearman_task_st *task) |
Definition at line 399 of file constants.h.
typedef gearman_return_t( gearman_exception_fn)(gearman_task_st *task) |
Definition at line 400 of file constants.h.
typedef gearman_return_t( gearman_fail_fn)(gearman_task_st *task) |
Definition at line 401 of file constants.h.
typedef gearman_return_t( gearman_parse_server_fn)(const char *host, in_port_t port, void *context) |
Definition at line 403 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 407 of file constants.h.
typedef gearman_return_t( gearman_event_watch_fn)(gearman_con_st *con, short events, void *context) |
Definition at line 411 of file constants.h.
typedef void*( gearman_malloc_fn)(size_t size, void *context) |
Definition at line 414 of file constants.h.
typedef void( gearman_free_fn)(void *ptr, void *context) |
Definition at line 415 of file constants.h.
typedef void( gearman_task_context_free_fn)(gearman_task_st *task, void *context) |
Definition at line 417 of file constants.h.
typedef void( gearman_log_fn)(const char *line, gearman_verbose_t verbose, void *context) |
Definition at line 420 of file constants.h.
typedef void( gearman_con_protocol_context_free_fn)(gearman_con_st *con, void *context) |
Definition at line 423 of file constants.h.
typedef size_t( gearman_packet_pack_fn)(const gearman_packet_st *packet, gearman_con_st *con, void *data, size_t data_size, gearman_return_t *ret_ptr) |
Definition at line 426 of file constants.h.
typedef size_t( gearman_packet_unpack_fn)(gearman_packet_st *packet, gearman_con_st *con, const void *data, size_t data_size, gearman_return_t *ret_ptr) |
Definition at line 430 of file constants.h.
enum gearman_return_t |
Return codes.
Definition at line 57 of file constants.h.
enum gearman_verbose_t |
Verbosity levels.
GEARMAN_VERBOSE_FATAL | |
GEARMAN_VERBOSE_ERROR | |
GEARMAN_VERBOSE_INFO | |
GEARMAN_VERBOSE_DEBUG | |
GEARMAN_VERBOSE_CRAZY | |
GEARMAN_VERBOSE_MAX |
Definition at line 112 of file constants.h.
gearman_command_info_st gearman_command_info_list[GEARMAN_COMMAND_MAX] |
Command information array.