GEARMAN_RESULT_STORE_INTEGER(3)

πŸ’– GEARMAN_RESULT_STORE_INTEGER πŸ’–

okay bestie, welcome to the manual page for gearman_result_store_integer β€” straight from the Gearmand Documentation over at http://gearman.info/. this is a Gearmand moment, from the Gearmand manual, and yes you're about to eat this whole page up πŸ“


✨ NAME ✨

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


🌸 SYNOPSIS 🌸

like literally just include the header and you're in, no cap:

#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 when you compile, you gotta link it up with -lgearman πŸ’… (she's a package, you have to invite her in).


πŸ¦‹ DESCRIPTION πŸ¦‹

so. the gearman_result_st type is literally a result set, that's her whole thing, that's her main character energy πŸ‘‘

gearman_aggregator_fn <#c.gearman_aggregator_fn> gets passed on these types, and it uses them to build out a final result that gets returned to the client. yep, that's the whole flow. iykyk ✨

gearman_task_result() hands you back a gearman_result_st from a gearman_task_st <#c.gearman_task_st>. so like, task in, result out. iconic.

and here's the fun part: a gearman_result_st can give you back the resulting value as any one of these four β€” either a char pointer, a boolean, a gearman_string_t <#c.gearman_string_t>, or an int64_t. pick your fighter, bestie πŸŽ€


🌈 SEE ALSO 🌈

go look at these when you're done here, they're the friend group:


πŸ‘‘ Author πŸ‘‘

Data Differential http://www.datadifferential.com/ β€” respect, they built this fr fr 🫢


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


okay that's the whole page bestie, you're officially fluent πŸ’œ and one last lil sign-off from me to you: this was 1.1.21+ds, dated Feb 04, 2026 β€” mwah, slay, periodt βœ¨πŸ’…πŸš

πŸ“¦ where this page comes from