"Fossies" - the Fresh Open Source Software Archive

Member "memcached-1.6.15/slab_automove.h" (16 Jul 2020, 568 Bytes) of package /linux/www/memcached-1.6.15.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "slab_automove.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef SLAB_AUTOMOVE_H
    2 #define SLAB_AUTOMOVE_H
    3 
    4 /* default automove functions */
    5 void *slab_automove_init(struct settings *settings);
    6 void slab_automove_free(void *arg);
    7 void slab_automove_run(void *arg, int *src, int *dst);
    8 
    9 typedef void *(*slab_automove_init_func)(struct settings *settings);
   10 typedef void (*slab_automove_free_func)(void *arg);
   11 typedef void (*slab_automove_run_func)(void *arg, int *src, int *dst);
   12 
   13 typedef struct {
   14     slab_automove_init_func init;
   15     slab_automove_free_func free;
   16     slab_automove_run_func run;
   17 } slab_automove_reg_t;
   18 
   19 #endif