1 .TH "MEMCACHED_USER_DATA" "3" "April 28, 2012" "1.0.7" "libmemcached"
3 memcached_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)
46 #include <libmemcached/memcached.h>
49 .B void *memcached_get_user_data(memcached_st\fI\ *ptr\fP)
53 .B void *memcached_set_user_data(memcached_st\fI\ *ptr\fP, void\fI\ *data\fP)
56 Compile and link with \-lmemcached
59 libmemcached(3) allows you to store a pointer to a user specific data inside
60 the memcached_st structure.
62 \fI\%memcached_set_user_data()\fP is used to set the user specific data in the
63 \fBmemcached_st\fP structure.
65 \fI\%memcached_get_user_data()\fP is used to retrieve the user specific data in the \fBmemcached_st\fP structure.
68 \fI\%memcached_set_user_data()\fP returns the previous value of the user specific data.
70 \fI\%memcached_get_user_data()\fP returns the current value uf the user specific data.
73 To find out more information please check:
74 \fI\%http://libmemcached.org/\fP
77 \fImemcached(1)\fP \fIlibmemcached(3)\fP
81 2011, Brian Aker DataDifferential, http://datadifferential.com/
82 .\" Generated by docutils manpage writer.