GEARMAN_RESULT_SIZE(3)

πŸ’– NAME πŸ’–

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


✨ SYNOPSIS ✨

#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 🫢


🌸 DESCRIPTION 🌸

okay so bestie, picture this: the gearman_result_st type is a result set. that's its whole thing. it's the little container of answers. πŸ’…

and like, gearman_aggregator_fn gets passed on these types β€” yes, on them β€” and it uses them to cook up a final result that gets returned to the client. the aggregator is the main character doing the assembling, and gearman_result_st is the cute little stage it works on. ✨

gearman_task_result() hands you a gearman_result_st straight out of a gearman_task_st. no cap, that's the whole job.

and here's the fun part β€” a gearman_result_st can give you back the resulting value as either a char pointer, a boolean, a gearman_string_t, or an int64_t. four flavors, pick your icon era. πŸŒˆπŸ‘‘


πŸŽ€ SEE ALSO πŸŽ€


πŸ’œ Author πŸ’œ

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

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


and that's the whole page, bestie!! πŸ’– this one came from Gearmand version 1.1.21+ds, dated Feb 04, 2026 β€” you're reading GEARMAN_RESULT_SIZE(3) in the Gearmand manual, and honestly?? she ate. periodt. πŸ¦‹πŸŒΈβœ¨

πŸ“¦ where this page comes from