1
.TH gearman_client_set_workload_free 3 2009-07-19 "Gearman" "Gearman"
3
gearman_client_set_workload_free \- Client Interface
5
.B #include <libgearman/gearman.h>
7
.BI "void gearman_client_set_workload_free(gearman_client_st " *client ", gearman_free_fn " *workload_free ", const void *workload_free_arg);"
9
Set custom memory free function for workloads. Normally gearman uses the
10
standard system free to free memory used with workloads. This function
15
Client structure previously initialized with
16
gearman_client_create or gearman_client_clone.
19
Memory free function to replace free().
22
Argument to pass along to workload_free.
24
The Gearman homepage: http://www.gearman.org/
26
Bugs should be reported at https://bugs.launchpad.net/gearmand
28
Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
30
Use and distribution licensed under the BSD license. See the COPYING file in the original source for full text.