1 #ifndef ORB_TYPES_H
2 #define ORB_TYPES_H 1
3 
4 #include <orbit/orbit-config.h>
5 
6 G_BEGIN_DECLS
7 
8 /*
9  * The ORBIT_ALIGNOF_ defines are generated by configure
10  * and reside in orbit/orbit-config.h
11  *
12  * Here the alignment of complex types is computed.
13  */
14 
15 /* alignment of the CORBA_any struct. */
16 #define ORBIT_ALIGNOF_CORBA_ANY    MAX(     ORBIT_ALIGNOF_CORBA_STRUCT,  \
17 					    ORBIT_ALIGNOF_CORBA_POINTER)
18 
19 /* alignment of CORBA_any._value.     */
20 #define ORBIT_ALIGNOF_CORBA_TCVAL  MAX(MAX( ORBIT_ALIGNOF_CORBA_LONG,    \
21 					    ORBIT_ALIGNOF_CORBA_STRUCT), \
22 					    ORBIT_ALIGNOF_CORBA_POINTER)
23 /* alignment of sequence structures.  */
24 #define ORBIT_ALIGNOF_CORBA_SEQ    MAX(MAX( ORBIT_ALIGNOF_CORBA_STRUCT,  \
25 					    ORBIT_ALIGNOF_CORBA_LONG),   \
26 					    ORBIT_ALIGNOF_CORBA_POINTER)
27 
28 /* alignment of CORBA_fixed_d_s */
29 #define ORBIT_ALIGNOF_CORBA_FIXED  MAX (    ORBIT_ALIGNOF_CORBA_SHORT,   \
30 					    ORBIT_ALIGNOF_CORBA_STRUCT);
31 
32 /* typedef CORBA_char              *CORBA_ORBid; */
33 typedef struct CORBA_any_struct  CORBA_any;
34 
35 typedef struct {
36         CORBA_unsigned_short _digits;
37         CORBA_short _scale;
38         signed char _sign;
39         signed char _value[1];
40 } CORBA_fixed_d_s;
41 
42 struct CORBA_NVList_type {
43 	CORBA_unsigned_long flags; /* should be CORBA_Flags */
44 	GArray *list;
45 };
46 
47 #define CORBA_OBJECT_NIL NULL
48 
49 #define CORBA_ARG_IN (1<<0)
50 #define CORBA_ARG_OUT (1<<1)
51 #define CORBA_ARG_INOUT (1<<2)
52 #define CORBA_CTX_RESTRICT_SCOPE (1<<3)
53 #define CORBA_CTX_DELETE_DESCENDENTS (1<<4)
54 #define CORBA_OUT_LIST_MEMORY (1<<5)
55 #define CORBA_IN_COPY_VALUE (1<<6)
56 #define CORBA_DEPENDENT_LIST (1<<7)
57 #define CORBA_INV_NO_RESPONSE (1<<8)
58 #define CORBA_INV_TERM_ON_ERROR (1<<9)
59 #define CORBA_RESP_NO_WAIT (1<<10)
60 
61 G_END_DECLS
62 
63 #endif
64