~fractalcat/gearmand/docfixes

« back to all changes in this revision

Viewing changes to docs/man/gearman_worker_set_memory_allocators.3

  • Committer: Brian Aker
  • Date: 2012-09-30 23:55:03 UTC
  • mto: (621.4.21 workspace)
  • mto: This revision was merged to the branch mainline in revision 656.
  • Revision ID: brian@tangent.org-20120930235503-u6r0uq1hl0mdj5an
Fix it so that we don't need to store the manpages in the tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "GEARMAN_WORKER_SET_MEMORY_ALLOCATORS" "3" "September 14, 2012" "0.38" "Gearmand"
2
 
.SH NAME
3
 
gearman_worker_set_memory_allocators \- Gearmand Documentation, http://gearman.info/
4
 
.
5
 
.nr rst2man-indent-level 0
6
 
.
7
 
.de1 rstReportMargin
8
 
\\$1 \\n[an-margin]
9
 
level \\n[rst2man-indent-level]
10
 
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11
 
-
12
 
\\n[rst2man-indent0]
13
 
\\n[rst2man-indent1]
14
 
\\n[rst2man-indent2]
15
 
..
16
 
.de1 INDENT
17
 
.\" .rstReportMargin pre:
18
 
. RS \\$1
19
 
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20
 
. nr rst2man-indent-level +1
21
 
.\" .rstReportMargin post:
22
 
..
23
 
.de UNINDENT
24
 
. RE
25
 
.\" indent \\n[an-margin]
26
 
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27
 
.nr rst2man-indent-level -1
28
 
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29
 
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30
 
..
31
 
.\" Man page generated from reStructeredText.
32
 
.
33
 
.SH SYNOPSIS
34
 
.sp
35
 
#include <libgearman/gearman.h>
36
 
.INDENT 0.0
37
 
.TP
38
 
.B gearman_allocator_t
39
 
.UNINDENT
40
 
.INDENT 0.0
41
 
.TP
42
 
.B gearman_malloc_fn
43
 
.UNINDENT
44
 
.INDENT 0.0
45
 
.TP
46
 
.B gearman_free_fn
47
 
.UNINDENT
48
 
.INDENT 0.0
49
 
.TP
50
 
.B gearman_realloc_fn
51
 
.UNINDENT
52
 
.INDENT 0.0
53
 
.TP
54
 
.B gearman_calloc_fn
55
 
.UNINDENT
56
 
.INDENT 0.0
57
 
.TP
58
 
.B gearman_return_t gearman_client_set_memory_allocators(gearman_client_st\fI\ *\fP, \fI\%gearman_malloc_fn\fP\fI\ *malloc_fn\fP, \fI\%gearman_free_fn\fP\fI\ *free_fn\fP, \fI\%gearman_realloc_fn\fP\fI\ *realloc_fn\fP, \fI\%gearman_calloc_fn\fP\fI\ *calloc_fn\fP, void\fI\ *context\fP)
59
 
.UNINDENT
60
 
.INDENT 0.0
61
 
.TP
62
 
.B gearman_return_t gearman_worker_set_memory_allocators(gearman_worker_st\fI\ *\fP, \fI\%gearman_malloc_fn\fP\fI\ *malloc_fn\fP, \fI\%gearman_free_fn\fP\fI\ *free_fn\fP, \fI\%gearman_realloc_fn\fP\fI\ *realloc_fn\fP, \fI\%gearman_calloc_fn\fP\fI\ *calloc_fn\fP, void\fI\ *context\fP)
63
 
.UNINDENT
64
 
.sp
65
 
Link to \-lgearman
66
 
.SH DESCRIPTION
67
 
.sp
68
 
Install callbacks for custom allocation.
69
 
.sp
70
 
Normally \fImalloc(3)\fP and \fIfree(3)\fP are used for allocation and releasing workloads. You can use \fI\%gearman_client_set_memory_allocators()\fP and \fI\%gearman_worker_set_memory_allocators()\fP to set your own custom allocators.
71
 
.SH RETURN VALUE
72
 
.sp
73
 
None
74
 
.IP "See also"
75
 
.RE
76
 
.sp
77
 
\fIgearmand(8)\fP \fIlibgearman(3)\fP \fIgearman_client_st(3)\fP
78
 
.SH AUTHOR
79
 
Data Differential http://www.datadifferential.com/
80
 
.SH COPYRIGHT
81
 
2012, Data Differential, http://www.datadifferential.com/
82
 
.\" Generated by docutils manpage writer.
83
 
.\" 
84
 
.