X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_stats.pod;h=fe093d105915a57bcd09fe53bc37aa5e833fdc9e;hb=56bb95c23210147d45b792e4e494e995d9de76dc;hp=33784cfd9c5cbaa0e01c60b845fab8f6a329066a;hpb=7d9255c986d5e9a395bd510ca7b01519736f33e1;p=awesomized%2Flibmemcached diff --git a/docs/memcached_stats.pod b/docs/memcached_stats.pod old mode 100755 new mode 100644 index 33784cfd..fe093d10 --- a/docs/memcached_stats.pod +++ b/docs/memcached_stats.pod @@ -1,6 +1,6 @@ =head1 NAME -memcached_stat memcached_stat_servername memcached_stat_get_value memcached_stat_get_keys +memcached_stat, memcached_stat_servername, memcached_stat_get_value, memcached_stat_get_keys - Get memcached statistics =head1 LIBRARY @@ -12,21 +12,23 @@ C Client Library for memcached (libmemcached, -lmemcached) memcached_stat_st *memcached_stat (memcached_st *ptr, char *args, - memcached_return *error); + memcached_return_t *error); - memcached_return memcached_stat_servername (memcached_stat_st *stat, - char *args, - char *hostname, - unsigned int port); + memcached_return_t memcached_stat_servername (memcached_stat_st *stat, + char *args, + const char *hostname, + unsigned int port); - char *memcached_stat_get_value (memcached_st *ptr, - memcached_stat_st *stat, - char *key, - memcached_return *error); + char * + memcached_stat_get_value (memcached_st *ptr, + memcached_stat_st *stat, + const char *key, + memcached_return_t *error); - char ** memcached_stat_get_keys (memcached_st *ptr, - memcached_stat_st *stat, - memcached_return *error); + char ** + memcached_stat_get_keys (memcached_st *ptr, + memcached_stat_st *stat, + memcached_return_t *error); =head1 DESCRIPTION @@ -38,7 +40,9 @@ While it is possible to access the structure directly it is not advisable. memcached_stat() fetches an array of C structures containing the state of all available memcached servers. The return value must be freed -by the calling application. +by the calling application. If called with the C +behavior set, a NULL value is returned and the error parameter is set to +C. memcached_stat_servername() can be used standalone without a C to obtain the state of a particular server. "args" is used to define a @@ -66,7 +70,7 @@ memory allocated for it. =head1 HOME To find out more information please check: -L +L =head1 AUTHOR