1 .TH "MEMCACHED_SET_USER_DATA" "3" "January 26, 2012" "1.0.4" "libmemcached"
3 memcached_set_user_data \- libmemcached Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
34 Manage user specific data
37 C Client Library for memcached (libmemcached, \-lmemcached)
42 #include <libmemcached/memcached.h>
44 void *memcached_get_user_data (memcached_st *ptr);
46 void *memcached_set_user_data (memcached_st *ptr, void *data);
51 libmemcached(3) allows you to store a pointer to a user specific data inside
52 the memcached_st structure.
54 \fBmemcached_set_user_data()\fP is used to set the user specific data in the
55 \fBmemcached_st\fP structure.
57 \fBmemcached_get_user_data()\fP is used to retrieve the user specific data in the \fBmemcached_st\fP structure.
60 \fBmemcached_set_user_data()\fP returns the previous value of the user specific data.
62 \fBmemcached_get_user_data()\fP returns the current value uf the user specific data.
65 To find out more information please check:
66 \fI\%http://libmemcached.org/\fP
69 \fImemcached(1)\fP \fIlibmemcached(3)\fP
73 2011, Brian Aker DataDifferential, http://datadifferential.com/
74 .\" Generated by docutils manpage writer.