DOKK / manpages / debian 12 / libmemcached-libmemcached-perl / Memcached::libmemcached::memcached_user_data.3pm.en
Memcached::libmemcached::memcached_user_data(3pm) User Contributed Perl Documentation Memcached::libmemcached::memcached_user_data(3pm)

memcached_set_user_data, memcached_get_user_data - Manage user specific data

C Client Library for memcached (libmemcached, -lmemcached)

  #include <memcached.h>
  void *memcached_get_user_data (memcached_st *ptr);
  void *memcached_set_user_data (memcached_st *ptr, void *data);

libmemcached(3) allows you to store a pointer to a user specific data inside the memcached_st structure.

memcached_set_user_data() is used to set the user specific data in the memcached_st structure.

memcached_get_user_data() is used to retrieve the user specific data in the memcached_st structure.

memcached_set_user_data() returns the previous value of the user specific data.

memcached_get_user_data() returns the current value uf the user specific data.

To find out more information please check: <https://launchpad.net/libmemcached>

Trond Norbye, <trond.norbye@gmail.com>

memcached(1) libmemcached(3)

2023-02-17 perl v5.36.0