~brianaker/libmemcached/1164440

« back to all changes in this revision

Viewing changes to docs/man/memcached_set_sasl_callbacks.3

  • Committer: Continuous Integration
  • Date: 2012-03-14 16:53:36 UTC
  • mfrom: (990.2.1 workspace)
  • Revision ID: ci@tangent.org-20120314165336-mjrg2hwmb6sx1er2
jenkins-promote-staging-trunk-libmemcached-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "January 26, 2012" "1.0.4" "libmemcached"
 
1
.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "March 14, 2012" "1.0.5" "libmemcached"
2
2
.SH NAME
3
3
memcached_set_sasl_callbacks \- libmemcached Documentation
4
4
.
43
43
.UNINDENT
44
44
.INDENT 0.0
45
45
.TP
46
 
.B memcached_return memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
 
46
.B memcached_return_t memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
47
47
.UNINDENT
48
48
.INDENT 0.0
49
49
.TP
50
 
.B memcached_return memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
 
50
.B memcached_return_t memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
51
51
.UNINDENT
52
52
.sp
53
53
Compile and link with \-lmemcached
66
66
\fBmemcached_free\fP to avoid a memory leak. You should NOT call
67
67
\fI\%memcached_destroy_sasl_auth_data\fP if you specify your own callback
68
68
function with \fI\%memcached_set_sasl_callbacks()\fP.
69
 
.sp
70
 
You as a client user have to initialize libsasl by using \fBsasl_client_init\fP before enabling it in libmemcached, and you have to shut down libsasl by
71
 
calling \fBsasl_done()\fP when you are done using SASL from libmemcached.
72
69
.SH RETURN
73
70
.sp
74
 
\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used
75
 
by this memcached handle. \fBmemcached_get_sasl_set_auth_data()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 
71
\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used by
 
72
this memcached handle. \fI\%memcached_set_sasl_auth_data()\fP returns
 
73
\fBMEMCACHED_SUCCESS\fP upon success.
76
74
.SH HOME
77
75
.sp
78
76
To find out more information please check: