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.  
  17.    subtype Void_Ptr is Interfaces.C.Extensions.void_ptr; 
  18.  
  19.    -- 
  20.    --  From dds_c_common.h 
  21.    -- 
  22.  
  23.    type Builtin_Topic_Key_Type_Native is new Interfaces.Unsigned_32; 
  24.    Builtin_Topic_Key_Type_Native_INITIALIZER : constant 
  25.      Builtin_Topic_Key_Type_Native := 0; 
  26.  
  27. private 
  28.  
  29.    MAX_KEY_HASH_ARRAY_SIZE : constant := 16; 
  30.  
  31.    type Rtps_Key_Hash_Array_T is array (0 .. MAX_KEY_HASH_ARRAY_SIZE - 1) of Interfaces.Unsigned_8; 
  32.  
  33.    type Guid_T_Prefix is record 
  34.       Value : Rtps_Key_Hash_Array_T; 
  35.    end record; 
  36.    pragma Convention (C, Guid_T_Prefix); 
  37.  
  38.    type Guid_T is record 
  39.       Prefix    : Guid_T_Prefix; 
  40.       Object_Id : Interfaces.Unsigned_32; 
  41.    end record; 
  42.    pragma Convention (C, Guid_T); 
  43.  
  44.  
  45. end DDS_Support;