memcached_set_user_data man page

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 specific data.

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

Home

To find out more information please check: http://libmemcached.org/

See Also

memcached(1) libmemcached(3)

Author

Brian Aker

Referenced By

libmemcached(3).

February 09, 2014 1.0.18 libmemcached