X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fmemcached_set_sasl_callbacks.3;h=6cdc40e47b3064da9c4b18f95e1806326904400e;hb=7287f37372f5e4198f7f16f5f6d6dcf9a8d5c1fb;hp=7e7cea1d5e9673b8f66dd228ea0d7fc2d5b7875d;hpb=e01fd594da5192aca15a99b1e7df25eacb28514f;p=m6w6%2Flibmemcached diff --git a/docs/man/memcached_set_sasl_callbacks.3 b/docs/man/memcached_set_sasl_callbacks.3 index 7e7cea1d..6cdc40e4 100644 --- a/docs/man/memcached_set_sasl_callbacks.3 +++ b/docs/man/memcached_set_sasl_callbacks.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "October 18, 2011" "1.01" "libmemcached" +.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "April 13, 2012" "1.0.6" "libmemcached" .SH NAME memcached_set_sasl_callbacks \- libmemcached Documentation . @@ -43,11 +43,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .UNINDENT .INDENT 0.0 .TP -.B memcached_return memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP) +.B memcached_return_t memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP) .UNINDENT .INDENT 0.0 .TP -.B memcached_return memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP) +.B memcached_return_t memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP) .UNINDENT .sp Compile and link with \-lmemcached @@ -66,13 +66,11 @@ in memory. If you choose to use this method you have to call \fBmemcached_free\fP to avoid a memory leak. You should NOT call \fI\%memcached_destroy_sasl_auth_data\fP if you specify your own callback function with \fI\%memcached_set_sasl_callbacks()\fP. -.sp -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 -calling \fBsasl_done()\fP when you are done using SASL from libmemcached. .SH RETURN .sp -\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used -by this memcached handle. \fBmemcached_get_sasl_set_auth_data()\fP returns \fBMEMCACHED_SUCCESS\fP upon success. +\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used by +this memcached handle. \fI\%memcached_set_sasl_auth_data()\fP returns +\fBMEMCACHED_SUCCESS\fP upon success. .SH HOME .sp To find out more information please check: