gearman_argument_t.rst 916 B

123456789101112131415161718192021222324252627282930
  1. ==============================
  2. Arguments (gearman_argument_t)
  3. ==============================
  4. --------
  5. SYNOPSIS
  6. --------
  7. #include <libgearman/gearman.h>
  8. .. c:type:: gearman_argument_t
  9. .. c:function:: gearman_argument_t gearman_argument_make(const char *name, const size_t name_length, const char *value, const size_t value_size)
  10. Compile and link with -lgearman
  11. -----------
  12. DESCRIPTION
  13. -----------
  14. The :c:func:`gearman_argument_make` function initializes :c:type:`gearman_argument_t`.
  15. :c:type:`gearman_argument_t` is an abstraction used passing arguments too :c:func:`gearman_execute`. The arguments are not copied, so any object that is used to initialize :c:type:`gearman_argument_t` must continue to exist throughout the lifetime/usage of the structure.
  16. --------
  17. SEE ALSO
  18. --------
  19. :manpage:`gearmand(8)` :manpage:`libgearman(3)` :manpage:`gearman_client_error()` or :manpage:`gearman_worker_error()`