~yolanda.robla/ubuntu/trusty/memcached/add_distribution

« back to all changes in this revision

Viewing changes to slabs.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-10-05 13:27:39 UTC
  • mfrom: (1.1.8 upstream) (3.3.4 sid)
  • Revision ID: james.westby@ubuntu.com-20111005132739-ntsnlj16fcze221i
Tags: 1.4.7-0.1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Run as 'memcache' user instead of nobody (LP #599461)
  - Depend on adduser for preinst/postrm
  - Create user in postinst

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
/** Free previously allocated object */
25
25
void slabs_free(void *ptr, size_t size, unsigned int id);
26
26
 
 
27
/** Adjust the stats for memory requested */
 
28
void slabs_adjust_mem_requested(unsigned int id, size_t old, size_t ntotal);
 
29
 
27
30
/** Return a datum for stats in binary protocol */
28
31
bool get_stats(const char *stat_type, int nkey, ADD_STAT add_stats, void *c);
29
32