1
.TH "GEARMAN_CLIENT_SET_DATA_FN" "3" "December 15, 2011" "0.26" "Gearmand"
3
gearman_client_set_data_fn \- Gearmand Documentation, http://gearman.info/
5
.nr rst2man-indent-level 0
9
level \\n[rst2man-indent-level]
10
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17
.\" .rstReportMargin pre:
19
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20
. nr rst2man-indent-level +1
21
.\" .rstReportMargin post:
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
31
.\" Man page generated from reStructeredText.
35
#include <libgearman/gearman.h>
42
.B void gearman_client_set_workload_fn(gearman_client_st\fI\ *client\fP, gearman_workload_fn\fI\ *function\fP)
46
.B void gearman_client_set_created_fn(gearman_client_st\fI\ *client\fP, gearman_created_fn\fI\ *function\fP)
50
.B void gearman_client_set_data_fn(gearman_client_st\fI\ *client\fP, gearman_data_fn\fI\ *function\fP)
54
.B void gearman_client_set_warning_fn(gearman_client_st\fI\ *client\fP, gearman_warning_fn\fI\ *function\fP)
58
.B void gearman_client_set_status_fn(gearman_client_st\fI\ *client\fP, gearman_universal_status_fn\fI\ *function\fP)
62
.B void gearman_client_set_complete_fn(gearman_client_st\fI\ *client\fP, gearman_complete_fn\fI\ *function\fP)
66
.B void gearman_client_set_exception_fn(gearman_client_st\fI\ *client\fP, gearman_exception_fn\fI\ *function\fP)
70
.B void gearman_client_set_fail_fn(gearman_client_st\fI\ *client\fP, gearman_fail_fn\fI\ *function\fP)
74
.B void gearman_client_clear_fn(gearman_client_st\fI\ *client\fP)
80
Callbacks for client execution task states.
82
\fBgearman_client_do_job_handle()\fP sets the callback function that will
83
be called if server is to make a request to the client to provide more data.
85
\fI\%gearman_client_clear_fn()\fP can be called to remove all existing
86
\fI\%gearman_actions_t\fP that have been set.
88
\fI\%gearman_client_set_created_fn()\fP,
89
\fI\%gearman_client_set_data_fn()\fP,
90
\fI\%gearman_client_set_warning_fn()\fP,
91
\fI\%gearman_client_set_status_fn()\fP,
92
\fI\%gearman_client_set_complete_fn()\fP,
93
\fI\%gearman_client_set_exception_fn()\fP, and
94
\fI\%gearman_client_set_fail_fn()\fP, set callback functions for the
95
different states of execution for a client request. Each request, ie
96
a creation of \fBgearman_task_st\fP, keeps a copy of callbacks when it
104
\fIgearmand(8)\fP \fIlibgearman(3)\fP \fIgearman_client_error(3)\fP or \fIgearman_worker_error(3)\fP
106
Data Differential http://datadifferential.com/
108
2011, Data Differential, http://datadifferential.com/
109
.\" Generated by docutils manpage writer.