GEARMAN_RESULT_STORE_VALUE(3)

πŸ’– NAME πŸ’–

gearman_result_store_value β€” Gearmand Documentation, http://gearman.info/

okay bestie, this is the manual page for the Gearman result-value stuff and it's literally the whole toolkit for storing and reading results. let's get into it fr fr 🫢


✨ SYNOPSIS ✨

#include <libgearman/gearman.h>

type gearman_result_st

gearman_result_st *gearman_task_result(gearman_task_st <#c.gearman_task_st> *task)

int64_t <#c.int64_t> gearman_result_integer(const gearman_result_st *self)

bool gearman_result_boolean(const gearman_result_st *self)

gearman_string_t <#c.gearman_string_t> gearman_result_string(const gearman_result_st *self)

gearman_return_t <#c.gearman_return_t>
gearman_result_store_string(gearman_result_st *self, gearman_string_t <#c.gearman_string_t> arg)

void gearman_result_store_integer(gearman_result_st *self, int64_t <#c.int64_t> value)

gearman_return_t <#c.gearman_return_t>
gearman_result_store_value(gearman_result_st *self, const void *value, size_t <#c.size_t> size)

size_t <#c.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)

and like, don't forget to Compile and link with -lgearman or nothing's gonna link and you'll be sobbing πŸ’€


🌸 DESCRIPTION 🌸

So the gearman_result_st type is what represents a result set. Periodt. πŸ’…

And gearman_aggregator_fn <#c.gearman_aggregator_fn> gets passed on these types β€” it uses them to cook up a final result that then gets handed back to the client. main character energy tbh πŸ‘‘

gearman_task_result() hands you back the gearman_result_st from a gearman_task_st <#c.gearman_task_st>. it's giving "here's your result, bestie" πŸŽ€

And a gearman_result_st can give you the resulting value as either a char pointer, a boolean, a gearman_string_t <#c.gearman_string_t>, or an int64_t. pick your fighter, they're all valid ✨


πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, iykyk πŸ“š


πŸ’œ Author πŸ’œ

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

2011-2014, Data Differential, http://www.datadifferential.com/


no cap, that's the whole page. every flag, every type, every function β€” all accounted for. 🫢

k bye bestie, go store some values πŸ’–βœ¨

Gearmand 1.1.21+ds Β· Feb 04, 2026 Β· and yeah, this was GEARMAN_RESULT_STORE_VALUE(3) the whole time πŸŒΈπŸ’…

πŸ“¦ where this page comes from