Gearman Public API Documentation

Server Function Handling
[Server Interface]

Enumerations

enum  gearman_server_function_options_t { GEARMAN_SERVER_FUNCTION_ALLOCATED = (1 << 0) }

Functions

gearman_server_function_stgearman_server_function_get (gearman_server_st *server, const char *function_name, size_t function_name_size)
gearman_server_function_stgearman_server_function_create (gearman_server_st *server, gearman_server_function_st *function)
void gearman_server_function_free (gearman_server_function_st *function)

Detailed Description

This is a low level interface for gearman server functions. This is used internally by the server interface, so you probably want to look there first.


Enumeration Type Documentation

Options for gearman_server_function_st.

Enumerator:
GEARMAN_SERVER_FUNCTION_ALLOCATED 

Definition at line 96 of file constants.h.


Function Documentation

gearman_server_function_st* gearman_server_function_get ( gearman_server_st server,
const char *  function_name,
size_t  function_name_size 
)

Add a new function to a server instance.

gearman_server_function_st* gearman_server_function_create ( gearman_server_st server,
gearman_server_function_st function 
)

Initialize a server function structure.

void gearman_server_function_free ( gearman_server_function_st function  ) 

Free a server function structure.


Generated on Tue Oct 13 20:19:20 2009 by  doxygen 1.6.1