ESS_PARTDEF_TYPE_T

Holds partition type-specific information.

typedef struct ESS_PARTDEF_TYPE_T 
{
   ESS_USHORT_T         operation_type;           
   ESS_USHORT_T         direction_type;           
   ESS_USHORT_T         meta_direction_type;      
   ESS_PARTDEF_MAP_T    area_map;               
   ESS_PARTDEF_MAP_T   *slice_maps;             
   ESS_TIME_T           last_refreshed;          
   ESS_BOOL_T           incr_refresh;            
   ESS_BOOL_T           updatable;               
   ESS_CHAR_T           defaultuser[ESS_USERNAMELEN]; 
   ESS_CHAR_T           defaultpass[ESS_PASSWORDLEN]; 
} ESS_PARTDEF_TYPE_T, *ESS_PPARTDEF_TYPE_T, **ESS_PPPARTDEF_TYPE_T;
Data TypeFieldDescription
ESS_USHORT_Toperation_typeOne of the Operation Type constants listed below.
ESS_USHORT_Tdirection_typeOne of the Direction constants listed below.

Note:

Fields marked as SVR: should only be modified by server code.

ESS_USHORT_Tmeta_direction_typeSource of metadata identified by one of the Direction constants listed below.
The following fields are applicable for replication sources
ESS_BOOL_Tincr_refreshSVR: incr. refresh allowed?
The following fields are applicable for all targets
ESS_PARTDEF_MAP_Tpartition_mapMain shared partition member map.
ESS_PARTDEF_MAP_Tslice_mapsSlice-specific mappings.
The following fields are applicable to replication targets
ESS_TIME_Tlast_refreshedSVR: time of last refresh.
ESS_BOOL_TupdatableIs data at target updatable?
The following fields are applicable to link targets
ESS_CHAR_Tdefaultuser [ESS_USERNAMELEN]Default username
ESS_CHAR_Tdefaultpass [ESS_PASSWORDLEN]Default password

define ESS_PARTITION_OP_REPLICATED   0x0001
define ESS_PARTITION_OP_LINKED       0x0002
define ESS_PARTITION_OP_TRANSPARENT  0x0004
define ESS_PARTITION_OP_ALLTYPES        (ESS_PARTITION_OP_REPLICATED |
                                         ESS_PARTITION_OP_LINKED |
                                         ESS_PARTITION_OP_TRANSPARENT)

define ESS_PARTITION_DATA_SOURCE        0x0001
define ESS_PARTITION_DATA_TARGET        0x0002
define ESS_PARTITION_DATA_BOTH          (ESS_PARTITION_DATA_SOURCE |
                                         ESS_PARTITION_DATA_TARGET)