PaCO++
0.05
|
00001 #ifndef PARIS_BLOCK_TYPE_IS_DEFINED 00002 #define PARIS_BLOCK_TYPE_IS_DEFINED 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 typedef enum { PARISBLOCK_BLOCK=1, PARISBLOCK_CYCLIC, PARISBLOCK_BLOCKCYCLIC } ParisBlock_distri_type_t; 00009 00010 typedef struct { 00011 00012 ParisBlock_distri_type_t type; 00013 unsigned int blocksize; // for block-cyclic 00014 00015 unsigned int unitblocksize; /* vector divided in bloc whose size is a multiple of _blocsize but the last 00016 * blocksize *MUST* be a multiple of unitblocksize. */ 00017 } ParisBlock_param_t; 00018 00019 #ifdef __cplusplus 00020 } 00021 #endif 00022 00023 #endif