/usr/include/orbit-2.0/orbit/orb-core/corba-typecode.h is in liborbit2-dev 1:2.14.19-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | #ifndef CORBA_TYPECODE_H
#define CORBA_TYPECODE_H 1
#include <orbit/orb-core/corba-typecode-type.h>
#include <orbit/orb-core/corba-any-type.h>
#include <orbit/orb-core/orbit-object.h>
G_BEGIN_DECLS
#define CORBA_tk_recursive 0xffffffff
#define CORBA_tk_last (CORBA_tk_abstract_interface + 1)
struct CORBA_TypeCode_struct {
struct ORBit_RootObject_struct parent;
CORBA_unsigned_long kind; /* The type */
CORBA_unsigned_long flags; /* native - impl. flags */
CORBA_short c_length; /* native - C size */
CORBA_short c_align; /* native - C align */
CORBA_unsigned_long length; /* length of sub types / parts */
CORBA_unsigned_long sub_parts; /* length of sub parts */
CORBA_TypeCode *subtypes; /* for struct, exception, union, alias, array, sequence */
CORBA_TypeCode discriminator; /* for union */
char *name;
char *repo_id;
char **subnames; /* for struct, exception, union, enum */
CORBA_long *sublabels; /* for union */
CORBA_long default_index; /* for union */
CORBA_unsigned_long recurse_depth; /* for recursive sequence */
CORBA_unsigned_short digits; /* for fixed */
CORBA_short scale; /* for fixed */
};
extern ORBIT2_MAYBE_CONST ORBit_RootObject_Interface ORBit_TypeCode_epv;
#define TC_null ((CORBA_TypeCode)&TC_null_struct)
#define TC_void ((CORBA_TypeCode)&TC_void_struct)
#define TC_CORBA_short ((CORBA_TypeCode)&TC_CORBA_short_struct)
#define TC_CORBA_long ((CORBA_TypeCode)&TC_CORBA_long_struct)
#define TC_CORBA_long_long ((CORBA_TypeCode)&TC_CORBA_long_long_struct)
#define TC_CORBA_unsigned_short ((CORBA_TypeCode)&TC_CORBA_unsigned_short_struct)
#define TC_CORBA_unsigned_long ((CORBA_TypeCode)&TC_CORBA_unsigned_long_struct)
#define TC_CORBA_unsigned_long_long ((CORBA_TypeCode)&TC_CORBA_unsigned_long_long_struct)
#define TC_CORBA_float ((CORBA_TypeCode)&TC_CORBA_float_struct)
#define TC_CORBA_double ((CORBA_TypeCode)&TC_CORBA_double_struct)
#define TC_CORBA_long_double ((CORBA_TypeCode)&TC_CORBA_long_double_struct)
#define TC_CORBA_boolean ((CORBA_TypeCode)&TC_CORBA_boolean_struct)
#define TC_CORBA_char ((CORBA_TypeCode)&TC_CORBA_char_struct)
#define TC_CORBA_wchar ((CORBA_TypeCode)&TC_CORBA_wchar_struct)
#define TC_CORBA_octet ((CORBA_TypeCode)&TC_CORBA_octet_struct)
#define TC_CORBA_any ((CORBA_TypeCode)&TC_CORBA_any_struct)
#define TC_CORBA_TypeCode ((CORBA_TypeCode)&TC_CORBA_TypeCode_struct)
#define TC_CORBA_Principal ((CORBA_TypeCode)&TC_CORBA_Principal_struct)
#define TC_CORBA_Object ((CORBA_TypeCode)&TC_CORBA_Object_struct)
#define TC_CORBA_string ((CORBA_TypeCode)&TC_CORBA_string_struct)
#define TC_CORBA_wstring ((CORBA_TypeCode)&TC_CORBA_wstring_struct)
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_null_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_void_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_char_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_wchar_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_string_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_wstring_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_long_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_unsigned_long_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_short_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_unsigned_short_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_octet_struct;
#define TC_Object_struct TC_CORBA_Object_struct
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_Object_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_any_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_TypeCode_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_boolean_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_float_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_double_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_long_double_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_long_long_struct;
extern ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_unsigned_long_long_struct;
#ifdef ORBIT2_INTERNAL_API
#include <orbit/GIOP/giop-basics.h>
void ORBit_encode_CORBA_TypeCode (CORBA_TypeCode tc,
GIOPSendBuffer *buf);
gboolean ORBit_decode_CORBA_TypeCode (CORBA_TypeCode *tc,
GIOPRecvBuffer *buf);
const char *ORBit_tk_to_name (CORBA_unsigned_long tk);
#endif /* ORBIT2_INTERNAL_API */
G_END_DECLS
#endif
|