2 * $Id: RTPSInfoDST.c,v 0.0.0.1 2003/08/21
4 * DEBUG: section 42 message INFO DST
5 * AUTHOR: Petr Smolik petr.smolik@wo.cz
7 * ORTE - OCERA Real-Time Ethernet http://www.ocera.org/
8 * --------------------------------------------------------------------
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
24 /**********************************************************************************/
25 void RTPSInfoDST(CDR_Codec *cdrCodec,MessageInterpret *mi) {
26 CDR_Endianness data_endian;
30 data_endian=cdrCodec->data_endian;
31 cdrCodec->data_endian=FLAG_BIG_ENDIAN;
34 CDR_get_ulong(cdrCodec,
35 (CORBA_unsigned_long*)&hid);
38 CDR_get_ulong(cdrCodec,
39 (CORBA_unsigned_long*)&aid);
41 cdrCodec->data_endian=data_endian;
43 debug(42,3) (" RTPSInfoDST:\n");
44 debug(42,4) (" hid:0x%x, aid:0x%x\n",hid,aid);
46 if (hid!=HID_UNKNOWN) {
49 if (aid!=AID_UNKNOWN) {