X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fexamples.html;h=409e582a8913350e6ec88e0946f0b37b3fbd8302;hb=f630617020eca3f15316047d062dc998b07d765d;hp=e8cf02167730586f6285fcf122d5d4b03b5ff60c;hpb=357fb245dde952b47f190c7eff413fc5017c2049;p=awesomized%2Flibmemcached diff --git a/libmemcached/examples.html b/libmemcached/examples.html index e8cf0216..409e582a 100644 --- a/libmemcached/examples.html +++ b/libmemcached/examples.html @@ -8,7 +8,7 @@ -
libmemcached
-libmemcachedutil
- -libhashkit
- -Client Applications
- -Copyright
@@ -159,7 +147,7 @@Examples for libmemcached
For full examples, test cases are found in tests/*.c in the main -distribution. These are always up to date, and are used for each test run of -the library.
+For full examples, test cases are found in tests/*.c in the main distribution. +These are always up to date, and are used for each test run of the library.
In the above code you create a memcached_st
object with three server
-by making use of memcached_create()
.
In the above code you create a memcached_st
object with three server by making
+use of memcached_create()
.
const char *config_string= "--SERVER=host10.example.com --SERVER=host11.example.com --SERVER=host10.example.com";
+const char *config_string =
+ "--SERVER=host10.example.com "
+ "--SERVER=host11.example.com "
+ "--SERVER=host10.example.com";
memcached_pool_st* pool= memcached_pool(config_string, strlen(config_string));
@@ -226,9 +220,9 @@ by making use of memcached_pool_destroy(pool);
-In the above code you create a memcached_pool_st
object with three
-server by making use of memcached_pool()
.
-When memcached_pool_destroy()
all memory will be released that is associated
+
In the above code you create a memcached_pool_st
object with three server by
+making use of memcached_pool()
.
+When memcached_pool_destroy()
all memory will be released that is associated
with the pool.