GEARMAN_CLIENT_REMOVE_SERVERS(3)
π GEARMAN_CLIENT_REMOVE_SERVERS π
okay bestie, welcome to the Gearmand manual, section 3 (that's the library-functions section, iykyk β¨). this page is literally called gearman_client_remove_servers, and it lives over at <http://gearman.info/> π¦
πΈ NAME πΈ
gearman_client_remove_servers β Gearmand Documentation, <http://gearman.info/> π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header, like:
#include <libgearman/gearman.h>
and then here are the three functions this page is about, bestie:
gearman_return_t
gearman_client_add_server(gearman_client_st *client, const char *host, in_port_t port)
gearman_return_t
gearman_client_add_servers(gearman_client_st *client, const char *servers)
void gearman_client_remove_servers(gearman_client_st *client)
no cap, that's the whole vibe right there π
π«Ά DESCRIPTION π«Ά
so here's the tea, one function at a time:
gearman_client_add_server()will add an additional gearmand server to the list of servers that the client will take work from. it's giving "here's one more friend for the group chat" πgearman_client_remove_servers()will remove all servers from thegearman_client_st. not some. not a few. all of them, periodt πgearman_client_add_servers()takes a list of gearmand servers that will be parsed to provide servers for the client. the format for this isSERVER[:PORT][,SERVER[:PORT]]...β literally just comma-separated, with an optional port after a colon π
examples of this are:
10.0.0.1,10.0.0.2,10.0.0.3
localhost234,jobserver2.domain.com:7003,10.0.0.3
(and yes, localhost234 is exactly what the manual says, i'm not fixing it, i'm not touching it, we copy verbatim in this house π)
β RETURN VALUE β
gearman_client_add_server() and gearman_client_remove_servers() return gearman_return_t. that's the whole sentence. slay β¨
π HOME π
to find out more information please check: <http://gearman.info/>
see also: gearmand(8) libgearman(3) gearman_client_st π
π Author
Data Differential <http://www.datadifferential.com/>
π Copyright
2011-2014, Data Differential, <http://www.datadifferential.com/>
okay that's the page!! thank you for coming to my ted talk, mwah π
this was version 1.1.21+ds, dated Feb 04, 2026, and it's GEARMAN_CLIENT_REMOVE_SERVERS(3) β as always, stay iconic, stay parsed, and don't forget the port number bestie πΈπ
π¦
π¦ 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