• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

mapper.h

Go to the documentation of this file.
00001 #ifndef _CRUSH_MAPPER_H
00002 #define _CRUSH_MAPPER_H
00003 
00004 /*
00005  * CRUSH functions for find rules and then mapping an input to an
00006  * output set.
00007  *
00008  * LGPL2
00009  */
00010 
00011 #include "crush.h"
00012 #include "Distributor.h"
00013 
00014 extern int crush_find_rule(struct crush_map *map, int pool, int type, int size);
00015 int crush_do_rule(VDRIVE::Distributor *dist, struct crush_map *map,
00016                   int ruleno, int64_t x, int *result, int result_max,
00017                   int force, uint32_t *weight);
00018 
00019 
00020 #endif

Generated on Mon Oct 11 2010 13:09:26 for CppDistributors by  doxygen 1.7.2