1. --  (c) Copyright, Real-Time Innovations, $Date:: 2012-02-16 #$ 
  2. --  All rights reserved. 
  3. -- 
  4. --  No duplications, whole or partial, manual or electronic, may be made 
  5. --  without express written permission.  Any such copies, or 
  6. --  revisions thereof, must display this notice unaltered. 
  7. --  This code contains trade secrets of Real-Time Innovations, Inc. 
  8.  
  9. pragma Ada_05; 
  10.  
  11. with Interfaces; 
  12. with Interfaces.C.Extensions; 
  13.  
  14.  
  15. package DDS_Support is 
  16.    pragma Preelaborate; 
  17.  
  18.    subtype Void_Ptr is Interfaces.C.Extensions.void_ptr; 
  19.  
  20.    -- 
  21.    --  From dds_c_common.h 
  22.    -- 
  23.  
  24.    type Builtin_Topic_Key_Type_Native is new Interfaces.Unsigned_32; 
  25.    Builtin_Topic_Key_Type_Native_INITIALIZER : constant 
  26.      Builtin_Topic_Key_Type_Native := 0; 
  27.  
  28. private 
  29.  
  30.    MAX_KEY_HASH_ARRAY_SIZE : constant := 16; 
  31.  
  32.    type Rtps_Key_Hash_Array_T is array (0 .. MAX_KEY_HASH_ARRAY_SIZE - 1) of Interfaces.Unsigned_8; 
  33.  
  34.    type Guid_T_Prefix is record 
  35.       Value : Rtps_Key_Hash_Array_T; 
  36.    end record; 
  37.    pragma Convention (C, Guid_T_Prefix); 
  38.  
  39.    type Guid_T is record 
  40.       Prefix    : Guid_T_Prefix; 
  41.       Object_Id : Interfaces.Unsigned_32; 
  42.    end record; 
  43.    pragma Convention (C, Guid_T); 
  44.  
  45.  
  46. end DDS_Support;