~ubuntu-branches/ubuntu/quantal/memcached/quantal

« back to all changes in this revision

Viewing changes to stats.h

  • Committer: Bazaar Package Importer
  • Author(s): David Martínez Moreno
  • Date: 2009-10-16 15:09:43 UTC
  • mfrom: (1.1.6 upstream) (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20091016150943-0rhh8x206ebgwzeu
Tags: 1.4.2-1
* New upstream release, primarily bugfixes, some of them critical, hence
  the urgency:
  - Reject keys larger than 250 bytes in the binary protocol.
  - Bounds checking on stats cachedump.
  - Binary protocol set+cas wasn't returning a new cas ID.
  - Binary quitq didn't actually close the connection
  - Slab boundary checking cleanup (bad logic in unreachable code)
  - Get hit memory optimizations
  - Disallow -t options that cause the server to not work
  - Killed off incomplete slab rebalance feature.
* debian/patches:
  - 01_init_script_compliant_with_LSB.patch: Remade as upstream applied a
    whitespace cleanup script that broke the patch.
  - 02_manpage_additions.patch: Added missing parameters to the memcached
    manpage.
* Removed TODO from debian/docs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* stats */
2
2
void stats_prefix_init(void);
3
3
void stats_prefix_clear(void);
4
 
void stats_prefix_record_get(const char *key, const bool is_hit);
5
 
void stats_prefix_record_delete(const char *key);
6
 
void stats_prefix_record_set(const char *key);
 
4
void stats_prefix_record_get(const char *key, const size_t nkey, const bool is_hit);
 
5
void stats_prefix_record_delete(const char *key, const size_t nkey);
 
6
void stats_prefix_record_set(const char *key, const size_t nkey);
7
7
/*@null@*/
8
8
char *stats_prefix_dump(int *length);