X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_callback.rst;h=43708b695c424740c224478d54dcfa86f3f5977b;hb=f285e1b3821f56a8983b5ce9fb1a0070e7bb0a1c;hp=e830b7aa2c54deb6bb12899c7cb5549a3bd3db04;hpb=1eae35aca01e152e10113cd97b7571ebd6eb5bd9;p=m6w6%2Flibmemcached diff --git a/docs/memcached_callback.rst b/docs/memcached_callback.rst index e830b7aa..43708b69 100644 --- a/docs/memcached_callback.rst +++ b/docs/memcached_callback.rst @@ -1,12 +1,11 @@ .. highlight:: perl -**** -NAME -**** +memcached_callback_get, memcached_callback_set +********************************************** -memcached_callback_get, memcached_callback_set - Get and set a callback +Get and set a callback ******* @@ -25,7 +24,7 @@ SYNOPSIS .. code-block:: perl - #include + #include memcached_return_t memcached_callback_set (memcached_st *ptr, @@ -81,6 +80,7 @@ MEMCACHED_CALLBACK_PREFIX_KEY not the master key. MEMCACHED_FAILURE will be returned if no key is set. In the case of a key which is too long MEMCACHED_BAD_KEY_PROVIDED will be returned. + If you set a value with the value being NULL then the prefix key is disabled. MEMCACHED_CALLBACK_USER_DATA