Your company here ā€” click to reach over 10,000 unique daily visitors

gearman_result_store_string - Man Page

Gearmand Documentation, http://gearman.info/


#include <libgearman/gearman.h>

type gearman_result_st

gearman_result_st *gearman_task_result(gearman_task_st *task)

int64_t gearman_result_integer(const gearman_result_st *self)

bool gearman_result_boolean(const gearman_result_st *self)

gearman_string_t gearman_result_string(const gearman_result_st *self)

gearman_return_t gearman_result_store_string(gearman_result_st *self, gearman_string_t arg)

void gearman_result_store_integer(gearman_result_st *self, int64_t value)

gearman_return_t gearman_result_store_value(gearman_result_st *self, const void *value, size_t size)

size_t gearman_result_size(const gearman_result_st *self)

const char *gearman_result_value(const gearman_result_st *self)

bool gearman_result_is_null(const gearman_result_st *self)

Compile and link with -lgearman


The gearman_result_st type represents a result set. gearman_aggregator_fn is passed on these types which it uses to create a final result that is returned to the client.

gearman_task_result() returns gearman_result_st from a gearman_task_st.

A gearman_result_st can return the resulting value as either a char pointer, boolean, gearman_string_t, or int64_t.

See Also

gearmand(8) libgearman(3) gearman_client_error() or gearman_worker_error()


Data Differential http://www.datadifferential.com/


Nov 06, 2023 1.1.21 Gearmand