1GEARMAN_RESULT_INTEGER(3) Gearmand GEARMAN_RESULT_INTEGER(3)
2
3
4
6 gearman_result_integer - Gearmand Documentation, http://gearman.info/
7
9 #include <libgearman/gearman.h>
10
11 type gearman_result_st
12
13 gearman_result_st *gearman_task_result(gearman_task_st *task)
14
15 int64_t gearman_result_integer(const gearman_result_st *self)
16
17 bool gearman_result_boolean(const gearman_result_st *self)
18
19 gearman_string_t gearman_result_string(const gearman_result_st *self)
20
21 gearman_return_t gearman_result_store_string(gearman_result_st *self,
22 gearman_string_t arg)
23
24 void gearman_result_store_integer(gearman_result_st *self, int64_t
25 value)
26
27 gearman_return_t gearman_result_store_value(gearman_result_st *self,
28 const void *value, size_t size)
29
30 size_t gearman_result_size(const gearman_result_st *self)
31
32 const char *gearman_result_value(const gearman_result_st *self)
33
34 bool gearman_result_is_null(const gearman_result_st *self)
35
36 Compile and link with -lgearman
37
39 The gearman_result_st type represents a result set. gearman_aggrega‐
40 tor_fn is passed on these types which it uses to create a final result
41 that is returned to the client.
42
43 gearman_task_result() returns gearman_result_st from a gearman_task_st.
44
45 A gearman_result_st can return the resulting value as either a char
46 pointer, boolean, gearman_string_t, or int64_t.
47
49 gearmand(8) libgearman(3) gearman_client_error() or gearman_worker_er‐
50 ror()
51
53 Data Differential http://www.datadifferential.com/
54
56 2011-2014, Data Differential, http://www.datadifferential.com/
57
58
59
60
611.1.20 Nov 19, 2022 GEARMAN_RESULT_INTEGER(3)