1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- ================
- Using namespaces
- ================
- --------
- SYNOPSIS
- --------
- #include <libgearman/gearman.h>
- .. c:function:: void gearman_client_set_namespace(gearman_client_st *self, const char *namespace_key, size_t namespace_key_size)
- .. c:function:: void gearman_worker_set_namespace(gearman_worker_st *self, const char *namespace_key, 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 :c:data:`namespace_key` can
- see one anothers workloads and functions.
- By setting :c:data:`namespace_key` to NULL you can disable the namespace.
- ------
- RETURN
- ------
- None
- ----
- HOME
- ----
- To find out more information please check:
- `https://launchpad.net/gearmand <https://launchpad.net/gearmand>`_
- --------
- SEE ALSO
- --------
- :manpage:`gearmand(8)` :manpage:`libgearman(3)`
|