gearman_worker_set_identifier.rst 767 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. =============================
  2. Setting a worker's identifier
  3. =============================
  4. --------
  5. SYNOPSIS
  6. --------
  7. #include <libgearman/gearman.h>
  8. .. c:function:: gearman_return_t gearman_worker_set_identifier(gearman_worker_st *worker, const char *id, size_t id_size)
  9. Link with -lgearman
  10. -----------
  11. DESCRIPTION
  12. -----------
  13. :c:func:`gearman_worker_set_identifier` sets the identifier that the server uses to identify the worker.
  14. ------------
  15. RETURN VALUE
  16. ------------
  17. :c:func:`gearman_worker_set_identifier` return :c:type:`gearman_return_t`.
  18. ----
  19. HOME
  20. ----
  21. To find out more information please check:
  22. `https://gearman.org/gearmand/ <https://gearman.org/gearmand/>`_
  23. .. seealso:: :program:`gearmand` :doc:`../libgearman` :c:type:`gearman_worker_st`