Gearman Developer Documentation

Data Structures | Defines | Functions
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_connection_st *connection)
static void _http_free (gearman_connection_st *connection, void *context)
static size_t _http_pack (const gearman_packet_st *packet, gearman_connection_st *connection, void *data, size_t data_size, gearman_return_t *ret_ptr)
static size_t _http_unpack (gearman_packet_st *packet, gearman_connection_st *connection, 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_connection_st *connection __attribute__((unused)), void *context)

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 106 of file protocol_http.c.

static void _http_free ( gearman_connection_st *connection   __attribute__(unused),
void *  context 
) [static]

Definition at line 137 of file protocol_http.c.