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