X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fmemcached_destroy_sasl_auth_data.3;h=fcf8f56c7c1be4f14dab35f4f75f50dbf287302c;hb=6cca0302addd6ea9714f2b8deff2c48aab3002ef;hp=7e57b62edca59c3298106b33a36d01132c8d837e;hpb=b2beb16e38f248ecc3a7253a5cf75de2056bb137;p=awesomized%2Flibmemcached diff --git a/docs/man/memcached_destroy_sasl_auth_data.3 b/docs/man/memcached_destroy_sasl_auth_data.3 index 7e57b62e..63d45695 100644 --- a/docs/man/memcached_destroy_sasl_auth_data.3 +++ b/docs/man/memcached_destroy_sasl_auth_data.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "June 17, 2011" "0.49" "libmemcached" +.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "September 16, 2012" "1.0.10" "libmemcached" .SH NAME memcached_destroy_sasl_auth_data \- 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 @@ -59,21 +59,18 @@ libsasl to perform SASL authentication. Please note that SASL requires the memcached binary protocol, and you have to specify the callbacks before you connect to the server. .sp -memcached_set_sasl_auth_data() is a helper function defining +\fI\%memcached_set_sasl_auth_data()\fP is a helper function defining the basic functionality for you, but it will store the username and password in memory. If you choose to use this method you have to call -memcached_destroy_sasl_auth_data before calling memcached_free to avoid -a memory leak. You should NOT call memcached_destroy_sasl_auth_data if you -specify your own callback function with memcached_set_sasl_callbacks(). -.sp -You as a client user have to initialize libsasl by using sasl_client_init -before enabling it in libmemcached, and you have to shut down libsasl by -calling sasl_done() when you are done using SASL from libmemcached. +\fI\%memcached_destroy_sasl_auth_data\fP before calling +\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. .SH RETURN .sp -memcached_get_sasl_callbacks() returns the callbacks currently used -by this memcached handle. -memcached_get_sasl_set_auth_data() returns MEMCACHED_SUCCESS 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: @@ -89,7 +86,7 @@ Trond Norbye, <\fI\%trond.norbye@gmail.com\fP> .SH AUTHOR Brian Aker .SH COPYRIGHT -2011, Brian Aker DataDifferential, http://datadifferential.com/ +2011-2012, Brian Aker DataDifferential, http://datadifferential.com/ .\" Generated by docutils manpage writer. .\" .