gearman_worker_set_namespace(3)

GEARMAN_WORKER_SET_NAMESPACE(3) Gearmand GEARMAN_WORKER_SET_NAMESPACE(3)

NAME

gearman_worker_set_namespace - Gearmand Documentation, https://gearman.org/gearmand/

SYNOPSIS

#include <libgearman/gearman.h>

void gearman_client_set_namespace(gearman_client_st <#c.gearman_client_st> *self, const char *namespace_key, size_t <#c.size_t> namespace_key_size)

void gearman_worker_set_namespace(gearman_worker_st <#c.gearman_worker_st> *self, const char *namespace_key, size_t <#c.size_t> namespace_key_size)

Compile and link with -lgearman

DESCRIPTION

gearman_client_set_namespace() and gearman_worker_set_namespace() set a "namespace" for a given set of functions. Only clients and workers sharing a namespace_key can see one anothers workloads and functions.

By setting namespace_key to NULL you can disable the namespace.

RETURN

None

HOME

To find out more information please check: <https://gearman.org/gearmand/>

SEE ALSO

gearmand(8) libgearman(3)

Author

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

Copyright

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

September 11, 2025 1.1.22