Gearman Developer Documentation

libgearman-server/protocol_http.c File Reference

HTTP Protocol Definitions. More...

#include "common.h"
#include "gearmand.h"
#include <libgearman-server/protocol_http.h>

Go to the source code of this file.

Data Structures

struct  gearman_protocol_http_st

Defines

#define GEARMAN_PROTOCOL_HTTP_DEFAULT_PORT   8080

Functions

static gearman_return_t _http_con_add (gearman_con_st *con)
static void _http_free (gearman_con_st *con, void *data)
static size_t _http_pack (const gearman_packet_st *packet, gearman_con_st *con, void *data, size_t data_size, gearman_return_t *ret_ptr)
static size_t _http_unpack (gearman_packet_st *packet, gearman_con_st *con, const void *data, size_t data_size, gearman_return_t *ret_ptr)
static const char * _http_line (const void *data, size_t data_size, size_t *line_size, size_t *offset)
gearman_return_t gearmand_protocol_http_conf (gearman_conf_st *conf)
gearman_return_t gearmand_protocol_http_init (gearmand_st *gearmand, gearman_conf_st *conf)
gearman_return_t gearmand_protocol_http_deinit (gearmand_st *gearmand __attribute__((unused)))
static void _http_free (gearman_con_st *con __attribute__((unused)), void *data)

Detailed Description

HTTP Protocol Definitions.

Definition in file protocol_http.c.


Function Documentation

gearman_return_t gearmand_protocol_http_deinit ( gearmand_st *gearmand   __attribute__(unused)  ) 

Definition at line 112 of file protocol_http.c.

static void _http_free ( gearman_con_st *con   __attribute__(unused),
void *  data 
) [static]

Definition at line 143 of file protocol_http.c.


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