Gearman Developer Documentation

Functions
libgearman-server/gearmand.c File Reference

Gearmand Definitions. More...

#include "common.h"
#include "gearmand.h"

Go to the source code of this file.

Functions

static void _log (const char *line, gearman_verbose_t verbose, void *context)
static gearman_return_t _listen_init (gearmand_st *gearmand)
static void _listen_close (gearmand_st *gearmand)
static gearman_return_t _listen_watch (gearmand_st *gearmand)
static void _listen_clear (gearmand_st *gearmand)
static void _listen_event (int fd, short events, void *arg)
static gearman_return_t _wakeup_init (gearmand_st *gearmand)
static void _wakeup_close (gearmand_st *gearmand)
static gearman_return_t _wakeup_watch (gearmand_st *gearmand)
static void _wakeup_clear (gearmand_st *gearmand)
static void _wakeup_event (int fd, short events, void *arg)
static gearman_return_t _watch_events (gearmand_st *gearmand)
static void _clear_events (gearmand_st *gearmand)
static void _close_events (gearmand_st *gearmand)
gearmand_stgearmand_create (const char *host, in_port_t port)
void gearmand_free (gearmand_st *gearmand)
void gearmand_set_backlog (gearmand_st *gearmand, int backlog)
void gearmand_set_job_retries (gearmand_st *gearmand, uint8_t job_retries)
void gearmand_set_worker_wakeup (gearmand_st *gearmand, uint8_t worker_wakeup)
void gearmand_set_threads (gearmand_st *gearmand, uint32_t threads)
void gearmand_set_log_fn (gearmand_st *gearmand, gearman_log_fn *function, void *context, gearman_verbose_t verbose)
gearman_return_t gearmand_port_add (gearmand_st *gearmand, in_port_t port, gearman_connection_add_fn *function)
gearman_return_t gearmand_run (gearmand_st *gearmand)
void gearmand_wakeup (gearmand_st *gearmand, gearmand_wakeup_t wakeup)
void gearmand_set_round_robin (gearmand_st *gearmand, bool round_robin)
static void _listen_event (int fd, short events __attribute__((unused)), void *arg)
static void _wakeup_event (int fd, short events __attribute__((unused)), void *arg)

Detailed Description

Gearmand Definitions.

Definition in file gearmand.c.


Function Documentation

static void _listen_event ( int  fd,
short events   __attribute__(unused),
void *  arg 
) [static]

Definition at line 499 of file gearmand.c.

static void _wakeup_event ( int  fd,
short events   __attribute__(unused),
void *  arg 
) [static]

Definition at line 622 of file gearmand.c.