MEMCACHED_SET_USER_DATA(3) libmemcached-awesome MEMCACHED_SET_USER_DATA(3)
NAME
memcached_set_user_data - libmemcached Documentation
SYNOPSIS
#include <libmemcached/memcached.h>
Compile and link with -lmemcached
void *memcached_get_user_data(memcached_st *ptr)
Parameters
ptr -- pointer to initialized memcached_st struct
Returns
opaque pointer to the user supplied data
void *memcached_set_user_data(memcached_st *ptr, void *data)
Parameters
o ptr -- pointer to initialized memcached_st struct
o data -- opaque pointer to user supplied data
Returns
opaque pointer to the previously set data
DESCRIPTION
libmemcached allows you to store a pointer to a user specific data in-
side 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 VALUE
memcached_set_user_data() returns the previous value of the user spe-
cific data.
memcached_get_user_data() returns the current value of the user spe-
cific data.
SEE ALSO
memcached(1) libmemcached(3)
1.1 Mar 06, 2023 MEMCACHED_SET_USER_DATA(3)
Czas wygenerowania: 0.00028 sek.
Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson
Copyright © 2003-2025 Linux.pl
Hosted by Hosting Linux.pl