X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_create.pod;h=4323723b722101420a6f5ea991831caf29bb732b;hb=e7561db4b56f2e78948710a0f360f65f5703a8e6;hp=421ba131781d22e817dd6b35c38874235c52b4e0;hpb=f6b4c8b2322df7ef8b0e430c3a951e41242fe14a;p=m6w6%2Flibmemcached diff --git a/docs/memcached_create.pod b/docs/memcached_create.pod index 421ba131..4323723b 100644 --- a/docs/memcached_create.pod +++ b/docs/memcached_create.pod @@ -1,6 +1,6 @@ =head1 NAME -memcached_create, memcached_free - Create a memcached_st structure +memcached_create, memcached_free, memcached_clone, memcached_servers_reset- Create a memcached_st structure =head1 LIBRARY @@ -16,6 +16,8 @@ C Client Library for memcached (libmemcached, -lmemcached) memcached_st *memcached_clone (memcached_st *destination, memcached_st *source); + void memcached_servers_reset(memcached_st); + =head1 DESCRIPTION memcached_create() is used to create a C structure that will then @@ -28,6 +30,9 @@ defaults and list of servers from the source C. If you pass a null the argument for the source to clone, it is the same as a call to memcached_create(). If the destination argument is NULL a C will be allocated for you. +memcached_servers_reset() allows you to zero out the list of servers that +the memcached_st has. + To clean up memory associated with a C structure you should pass it to memcached_free() when you are finished using it. memcached_free() is the only way to make sure all memory is deallocated when you finish using