付録C.3 MCFイベントインタフェース

ここでは,MCFイベントインタフェースの変更一覧を示します。

<この項の構成>
(1) MCFイベントの共通ヘッダの形式
(2) ERREVT1の形式
(3) ERREVT2の形式
(4) ERREVT3の形式
(5) ERREVTAの形式
(6) CERREVTの形式
(7) COPNEVT,CCLSEVTの形式

(1) MCFイベントの共通ヘッダの形式

バージョン6以前バージョン7
<32ビットアーキテクチャの場合>

struct dc_mcf_evtheader {
 char mcfevt_name[9] ;
 char le_name[16] ;
 char cn_name[9] ;
 unsigned char format_kind;
 char reserve01;
 long time ;
};

struct dc_mcf_evtheader {
 char mcfevt_name[9] ;
 char le_name[16] ;
 char cn_name[9] ;
 unsigned char format_kind;
 char reserve01;
 DCLONG time ;
};

<64ビットアーキテクチャの場合>

struct dc_mcf_evtheader {
 char mcfevt_name[9] ;
 char le_name[16] ;
 char cn_name[9] ;
 unsigned char format_kind;
 char reserve01;
 int time ;
};

(2) ERREVT1の形式

バージョン6以前とバージョン7で,差異はありません。

(3) ERREVT2の形式

バージョン6以前とバージョン7で,差異はありません。

(4) ERREVT3の形式

バージョン6以前とバージョン7で,差異はありません。

(5) ERREVTAの形式

バージョン6以前バージョン7
<32ビットアーキテクチャの場合>

struct dc_mcf_evta_type {
 struct dc_mcf_evtheader  evtheader ;
 char reserve01[12] ;
 char reserve02[10] ;
 char reserve03[2] ;
 char ap_name[10] ;
 char reserve04[2] ;
 char reserve05[32] ;
 char reserve06[32] ;
 long user_leng ;
 char user_data[16] ;
 char reserve07[16] ;
} ;

struct dc_mcf_evta_type {
 struct dc_mcf_evtheader  evtheader ;
 char reserve01[12] ;
 char reserve02[10] ;
 char reserve03[2] ;
 char ap_name[10] ;
 char reserve04[2] ;
 char reserve05[32] ;
 char reserve06[32] ;
 DCLONG user_leng ;
 char user_data[16] ;
 char reserve07[16] ;
} ;

<64ビットアーキテクチャの場合>

struct dc_mcf_evta_type {
 struct dc_mcf_evtheader  evtheader ;
 char reserve01[12] ;
 char reserve02[10] ;
 char reserve03[2] ;
 char ap_name[10] ;
 char reserve04[2] ;
 char reserve05[32] ;
 char reserve06[32] ;
 int user_leng ;
 char user_data[16] ;
 char reserve07[16] ;
} ;

(6) CERREVTの形式

バージョン6以前バージョン7
<32ビットアーキテクチャの場合>

typedef struct {
 struct dc_mcf_evtheader  header ;
 long err_fact ;
 long err_reason1 ;
 long err_reason2 ;

 char reserve1[48] ;
} dcmtcp_cerrevt ;

typedef struct {
 struct dc_mcf_evtheader  header ;
 DCLONG err_fact ;
 DCLONG err_reason1 ;
 DCLONG err_reason2 ;
 char group_name[16];
 char reserve1[32] ;
} dcmtcp_cerrevt ;

<64ビットアーキテクチャの場合>

typedef struct {
 struct dc_mcf_evtheader  header ;
 int err_fact ;
 int err_reason1 ;
 int err_reason2 ;

 char reserve1[48] ;
} dcmtcp_cerrevt ;

(7) COPNEVT,CCLSEVTの形式

バージョン6以前バージョン7

typedef struct {
 struct dc_mcf_evtheader  header ;

 char reserve1[58] ;
} dcmtcp_statevt ;

typedef struct {
 struct dc_mcf_evtheader  header ;
 char group_name[16];
 char reserve1[40] ;
} dcmtcp_statevt ;