GEARMAN_CLIENT_OPTIONS_T(3)
π GEARMAN_CLIENT_OPTIONS_T π
okay bestie, welcome to the Gearmand docs β¨ this one's from GEARMAN_CLIENT_OPTIONS_T(3), and it's all about the lil options toggles on your gearman client. pull up a chair, grab a boba, we're doing this π§
πΈ SYNOPSIS πΈ
#include <libgearman/gearman.h>
type gearman_client_options_t
gearman_client_options_t gearman_client_options(const gearman_client_st
<#c.gearman_client_st> *client)
void gearman_client_set_options(gearman_client_st <#c.gearman_client_st>
*client, gearman_client_options_t options)
void gearman_client_add_options(gearman_client_st <#c.gearman_client_st>
*client, gearman_client_options_t options)
void gearman_client_remove_options(gearman_client_st <#c
.gearman_client_st> *client, gearman_client_options_t options)
bool gearman_client_has_option(gearman_client_st <#c.gearman_client_st>
*client, gearman_client_options_t option)
and when you link it, you link with -lgearman π«Ά
β¨ DESCRIPTION β¨
so gearman_client_options() returns the gearman_client_options_t for a gearman_client_st <#c.gearman_client_st>. simple. iconic.
you turn options ON with gearman_client_add_options() and you turn options OFF with gearman_client_remove_options(). that's the whole vibe check π₯
β οΈ also, heads up: gearman_client_set_options() has been DEPRECATED. not me showing up to the function's funeral π don't use it, bestie.
π The currently supported options π
type GEARMAN_CLIENT_NON_BLOCKINGβ runs the client in a non-blocking mode. no waiting around, main character energy only πtype GEARMAN_CLIENT_FREE_TASKSβ automatically frees task objects once they're complete. so you don't have to do it yourself. self-care tbh πΈtype GEARMAN_CLIENT_UNBUFFERED_RESULTβ lets the client read the data in chunks instead of making the library buffer the entire data result and hand the whole thing back to you. snack-sized, not the whole cake πtype GEARMAN_CLIENT_GENERATE_UNIQUEβ generates a unique id for each task, by generating a UUID. every task gets its own little name tag π·οΈβ¨
π RETURN VALUE π
Various. yes really, that's it. it's giving "we ran out of things to say" π
π¦ HOME π¦
wanna know more? the lore lives here: <http://gearman.info/>
See also:
π Author π
Data Differential <http://www.datadifferential.com/> β they made it, we love them π«Ά
π Copyright π
2011-2014, Data Differential, <http://www.datadifferential.com/>
okay that's the whole page bestie, you ate π
this icon of a manpage is straight from version 1.1.21+ds, dated Feb 04, 2026 β so if you're reading this in the future, hi, hope you're slaying π¦β¨
π¦ where this page comes from
- ubuntu resolute: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- ubuntu stonking: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms