memcached_set_user_data - libmemcached Documentation Manage user specific data
#include <libmemcached/memcached.h> void *memcached_get_user_data(memcached_st *ptr) void *memcached_set_user_data(memcached_st *ptr, void *data) Compile and link with -lmemcached
libmemcached MEMCACHED_SET_USER_DATA(3libmemcached) NAME memcached_set_user_data - libmemcached Documentation Manage user specific data LIBRARY C Client Library for memcached (libmemcached, -lmemcached) SYNOPSIS #include <libmemcached/memcached.h> void *memcached_get_user_data(memcached_st *ptr) void *memcached_set_user_data(memcached_st *ptr, void *data) Compile and link with -lmemcached DESCRIPTION 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. RETURN memcached_set_user_data() returns the previous value of the user spe- cific data. memcached_get_user_data() returns the current value uf the user spe- cific data. HOME To find out more information please check: http://libmemcached.org/ ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+----------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+----------------------+ |Availability | library/libmemcached | +---------------+----------------------+ |Stability | Uncommitted | +---------------+----------------------+ SEE ALSO memcached(1) libmemcached(3) AUTHOR Brian Aker COPYRIGHT 2011-2013, Brian Aker DataDifferential, http://datadifferential.com/ NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from https://launchpad.net/libmem- cached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz. Further information about this software can be found on the open source community website at http://libmemcached.org/libMemcached.html. 1.0.18 February 09, 2014 MEMCACHED_SET_USER_DATA(3libmemcached)