/* * JCG Products Ver 1.00.00 * * Copyright (C) 2000,2001 TRON Association * All rights reserved. * Copyright (C) 2000,2001 Information-technology Promotion Agency, Japan * All rights reserved. * * 上記著作権者は,以下の条件を満たす場合に限り,本ソフトウェア(本ソ * フトウェアを改変したものを含む.以下同じ)を使用・複製・改変・頒布・ * 送信・再許諾・貸与・翻案(以下再頒布という)することを無償で許諾す * る. * (1) 本ソフトウェアをソースコードの形で再頒布する場合には,上記の著 * 作権表示,この再頒布条件および下記の無保証規定が,ソースコード * 中に含まれていること. * (2) 本ソフトウェアをオブジェクトコードの形または機器に組み込んだ形 * で再頒布する場合には,次のいずれかの条件を満たすこと. * ・再頒布に伴うドキュメント(利用者マニュアルなど)に,上記の * 著作権表示,この再頒布条件および下記の無保証規定を掲載する * こと. * ・本ソフトウェアを利用したことによって直接的または間接的に生 * じたいかなる損害からも,上記著作権者を免責すること. * * 本ソフトウェアは,無保証で提供されているものである.上記著作権者は, * 本ソフトウェアに関して,その適用可能性も含めて,いかなる保証も行わ * ない.また,本ソフトウェアを利用したことによって直接的または間接的 * に生じたいかなる損害に関しても,その責任を負わない. * * The Copyrights Holder above agrees that this software (including the * Derivative work of this software. This is applicable hereinafter) is * used, copied, modified, distributed, sent, re-granted, lent or adopted * (hereinafter called "redistribution") for free as long as the * following License Conditions are satisfied. * (1) If this software is to be redistributed in the form of source * codes, Copyright Notice above, this redistribution conditions, * and the following NO WARRANTY Provisions must be included in * the source code. * (2) If this software is to be redistributed in the form of object * codes or integrated into a device, either of the following * conditions must be satisfied. * - Copyright Notice above, this redistribution conditions, and * the following NO WARRANTY Provisions appear in the attached * document (such as users manual). * - Copyrights Holder above is exempted from any direct/indirect * damages caused as a result of using this software. * * This software is provided with NO WARRANTY. Copyrights Holder above * provides NO WARRANTY on this software, including its applicability, * and is not liable for any direct/indirect damages caused as a result * of using this software. * * NOTICE: * Sentences above are translation for reference. For legal purposes, * the original Japanese sentences on top of this file are the official * sentences for License Conditions. */ #ifndef __ECBASRV_H__ #define __ECBASRV_H__ /* * 動的オブジェクト登録情報獲得用データ構造 */ typedef struct dobj_inf { CORBA_unsigned_long dinf_all; CORBA_unsigned_long dinf_use; } ASRV_DobjCntInf; /* * オブジェクトの詳細情報獲得用データ構造 */ typedef struct dobj_detail_inf { CORBA_int inf_doid; CORBA_char *inf_serv; ID inf_task; CORBA_unsigned_short inf_port; CORBA_int inf_soid; CORBA_unsigned_long inf_vers; CORBA_boolean inf_delf; } ASRV_DobjInf; /* * ASRV オブジェクトアダプタ マクロ定義 */ #define ASRV_OBJ_EXIST (-2) #define ASRV_NOT_ENTRY (-1) #define ASRV_RESERVE (0) CORBA_int ASRV_entry_sobj(T_CTSK *, CORBA_char *); CORBA_int ASRV_entry_dobj(T_CTSK *, CORBA_char *, CORBA_int); ID ASRV_cancel_dobj_id(CORBA_int); ID ASRV_cancel_dobj_srvnm(CORBA_char *); CORBA_unsigned_long ASRV_remain_dobj(void); CORBA_boolean ASRV_info_dobj_id(CORBA_int, ASRV_DobjInf *); CORBA_boolean ASRV_info_dobj_srvnm(CORBA_char *, ASRV_DobjInf *); #endif /* __ECBASRV_H__ */