summaryrefslogtreecommitdiff
path: root/TAO/IIOP/tests/Cubit/TAO/cubit.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/IIOP/tests/Cubit/TAO/cubit.h')
-rw-r--r--TAO/IIOP/tests/Cubit/TAO/cubit.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/TAO/IIOP/tests/Cubit/TAO/cubit.h b/TAO/IIOP/tests/Cubit/TAO/cubit.h
index 78d6b604052..12d99b4e403 100644
--- a/TAO/IIOP/tests/Cubit/TAO/cubit.h
+++ b/TAO/IIOP/tests/Cubit/TAO/cubit.h
@@ -1,6 +1,6 @@
// $Id$
-// @(#)cubit.hh 1.1 95/09/10
+// @(#)cubit.hh 1.1 95/09/10
// Copyright 1994-1995 by Sun Microsystems Inc.
// All Rights Reserved
//
@@ -15,12 +15,12 @@
// mean lots of narrowing/widening/RTTI infrastructure.
//
-#ifndef _CUBIT_HH
-#define _CUBIT_HH
+#ifndef _CUBIT_HH
+#define _CUBIT_HH
-#ifdef _MSC_VER
-#pragma pack (push, 1) // VC++, known padding rules
-#endif // VC++
+#ifdef _MSC_VER
+#pragma pack (push, 1) // VC++, known padding rules
+#endif // VC++
#include <corba/orb.h>
#include <corba/stub.h>
@@ -30,16 +30,16 @@
// C style binding
//
-typedef CORBA_Object Cubit;
+typedef CORBA_Object Cubit;
typedef Cubit *Cubit_ptr, *CubitRef;
-extern CORBA_TypeCode_ptr TC_Cubit_Many;
-extern CORBA_TypeCode_ptr TC_Cubit_oneof;
+extern CORBA_TypeCode_ptr TC_Cubit_Many;
+extern CORBA_TypeCode_ptr TC_Cubit_oneof;
struct Cubit_Many {
- CORBA_Octet o;
- CORBA_Long l;
- CORBA_Short s;
+ CORBA_Octet o;
+ CORBA_Long l;
+ CORBA_Short s;
};
enum Cubit_discrim {e_0th = 0, e_1st = 1, e_2nd = 2,
@@ -48,61 +48,61 @@ enum Cubit_discrim {e_0th = 0, e_1st = 1, e_2nd = 2,
struct Cubit_oneof {
Cubit_discrim _disc;
- union {
- CORBA_Octet o;
- CORBA_Short s;
- CORBA_Long l;
+ union {
+ CORBA_Octet o;
+ CORBA_Short s;
+ CORBA_Long l;
Cubit_Many cm;
};
};
CORBA_Octet
Cubit_cube_octet (
- Cubit_ptr target,
- CORBA_Octet o,
- CORBA_Environment &env
+ Cubit_ptr target,
+ CORBA_Octet o,
+ CORBA_Environment &env
);
CORBA_Short
Cubit_cube_short (
- Cubit_ptr target,
- CORBA_Short s,
- CORBA_Environment &env
+ Cubit_ptr target,
+ CORBA_Short s,
+ CORBA_Environment &env
);
CORBA_Long
Cubit_cube_long (
- Cubit_ptr target,
- CORBA_Long l,
- CORBA_Environment &env
+ Cubit_ptr target,
+ CORBA_Long l,
+ CORBA_Environment &env
);
Cubit_Many *
Cubit_cube_struct (
- Cubit_ptr target,
- Cubit_Many &values,
- CORBA_Environment &env
+ Cubit_ptr target,
+ Cubit_Many &values,
+ CORBA_Environment &env
);
Cubit_oneof *
Cubit_cube_union (
- Cubit_ptr target,
+ Cubit_ptr target,
Cubit_oneof &values,
- CORBA_Environment &env
+ CORBA_Environment &env
);
void
Cubit_please_exit (
- Cubit_ptr target,
- CORBA_Environment &env
+ Cubit_ptr target,
+ CORBA_Environment &env
);
-extern const CORBA_Char *Cubit__id; // type ID
+extern const CORBA_Char *Cubit__id; // type ID
extern const TAO_Skel_Entry Cubit_operations [];
-#ifdef _MSC_VER
-#pragma pack (pop) // VC++, go back to other padding rules
-#endif // VC++
+#ifdef _MSC_VER
+#pragma pack (pop) // VC++, go back to other padding rules
+#endif // VC++
-#endif // _CUBIT_HH
+#endif // _CUBIT_HH