~clint-fewbar/ubuntu/precise/gearmand/drop-unneeded-patches

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.TH gearman_set_workload_malloc_fn 3 2009-09-29 "Gearman" "Gearman"
.SH NAME
gearman_set_workload_malloc_fn \- Gearman Core Interface
.SH SYNOPSIS
.B #include <libgearman/gearman.h>
.sp
.BI " void gearman_set_workload_malloc_fn(gearman_st " *gearman ",  gearman_malloc_fn " *function ",  const void *context);"
.SH DESCRIPTION
Set custom memory allocation function for workloads. Normally gearman uses
the standard system malloc to allocate memory used with workloads. The
provided function will be used instead.
*
.SH PARAMETERS
.TP
.BR 
[in] gearman Structure previously initialized with gearman_create() or
gearman_clone().
.TP
.BR 
[in] function Memory allocation function to use instead of malloc().
.TP
.BR 
[in] context Argument to pass into the callback function.
.SH "SEE ALSO"
The Gearman homepage: http://www.gearman.org/
.SH BUGS
Bugs should be reported at https://bugs.launchpad.net/gearmand
.SH COPYING
Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.

Use and distribution licensed under the BSD license. See the COPYING file in the original source for full text.