X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Flibmemcached_configuration.3;h=c0572835ec0ee232ed4980df095c55b9cc0d45b4;hb=refs%2Ftags%2F1.0.8;hp=2e2f6c00d23c14fbbc2d366ae69acd9b7f19b22d;hpb=8368c501914b1a6fcd722395d07879bad65c540d;p=m6w6%2Flibmemcached diff --git a/docs/man/libmemcached_configuration.3 b/docs/man/libmemcached_configuration.3 index 2e2f6c00..16543e66 100644 --- a/docs/man/libmemcached_configuration.3 +++ b/docs/man/libmemcached_configuration.3 @@ -1,4 +1,4 @@ -.TH "LIBMEMCACHED_CONFIGURATION" "3" "June 17, 2011" "0.49" "libmemcached" +.TH "LIBMEMCACHED_CONFIGURATION" "3" "May 22, 2012" "1.0.8" "libmemcached" .SH NAME libmemcached_configuration \- libmemcached Documentation . @@ -32,7 +32,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] . .SH SYNOPSIS .sp -#include +#include +.INDENT 0.0 +.TP +.B LIBMEMCACHED +.UNINDENT .INDENT 0.0 .TP .B memcached_st *memcached(const char\fI\ *string\fP, size_t\fI\ string_length\fP) @@ -46,7 +50,7 @@ Compile and link with \-lmemcached .SH DESCRIPTION .sp Libmemcached implements a custom language for configuring and modifying -servers. By passing in an option string you can generate a memcached_st object +servers. By passing in an option string you can generate a \fBmemcached_st\fP object that you can use in your application directly. .INDENT 0.0 .TP @@ -56,6 +60,12 @@ that you can use in your application directly. Provide a servername to be used by the client. Providing a weight will cause weighting to occur with all hosts with each server getting a default weight of 1. .INDENT 0.0 .TP +.B \-\-SOCKET="/?" +.UNINDENT +.sp +Provide a filepath to a UNIX socket file. Providing a weight will cause weighting to occur with all hosts with each server getting a default weight of 1. +.INDENT 0.0 +.TP .B \-\-VERIFY\-KEY .UNINDENT .sp @@ -263,7 +273,7 @@ End configutation processing. End configutation processing and throw an error. .SH RETURN .sp -memcached() returns a pointer to the memcached_st that was +\fI\%memcached()\fP returns a pointer to the memcached_st that was created (or initialized). On an allocation failure, it returns NULL. .SH EXAMPLE .sp