/*
 * This file was generated by orbit-idl - DO NOT EDIT!
 */

#include <glib.h>
#define ORBIT_IDL_SERIAL 9
#include <orb/orbit.h>

#ifndef msg_H
#define msg_H 1
#ifdef __cplusplus
extern "C"
{
#endif				/* __cplusplus */

/** typedefs **/
#if !defined(ORBIT_DECL_CORBA_sequence_CORBA_string) && !defined(_CORBA_sequence_CORBA_string_defined)
#define ORBIT_DECL_CORBA_sequence_CORBA_string 1
#define _CORBA_sequence_CORBA_string_defined 1
#define ORBIT_IMPL_CORBA_sequence_CORBA_string_0 'm'
#define ORBIT_IMPL_CORBA_sequence_CORBA_string_1 's'
#define ORBIT_IMPL_CORBA_sequence_CORBA_string_2 'g'
   typedef struct
   {
      CORBA_unsigned_long _maximum,
       _length;
      CORBA_char **_buffer;
      CORBA_boolean _release;
   }
   CORBA_sequence_CORBA_string;
#if !defined(TC_IMPL_TC_CORBA_sequence_CORBA_string_0)
#define TC_IMPL_TC_CORBA_sequence_CORBA_string_0 'm'
#define TC_IMPL_TC_CORBA_sequence_CORBA_string_1 's'
#define TC_IMPL_TC_CORBA_sequence_CORBA_string_2 'g'
   extern const struct CORBA_TypeCode_struct
      TC_CORBA_sequence_CORBA_string_struct;
#define TC_CORBA_sequence_CORBA_string ((CORBA_TypeCode)&TC_CORBA_sequence_CORBA_string_struct)
#endif
   extern CORBA_sequence_CORBA_string
      *CORBA_sequence_CORBA_string__alloc(void);
   extern gpointer CORBA_sequence_CORBA_string__free(gpointer mem,
						     gpointer dat,
						     CORBA_boolean free_strings);	/* ORBit internal use */
   CORBA_char **CORBA_sequence_CORBA_string_allocbuf(CORBA_unsigned_long len);
#endif
#if !defined(_MESSAGING_msgLines_defined)
#define _MESSAGING_msgLines_defined 1
   typedef CORBA_sequence_CORBA_string MESSAGING_msgLines;
#if !defined(TC_IMPL_TC_MESSAGING_msgLines_0)
#define TC_IMPL_TC_MESSAGING_msgLines_0 'm'
#define TC_IMPL_TC_MESSAGING_msgLines_1 's'
#define TC_IMPL_TC_MESSAGING_msgLines_2 'g'
   extern const struct CORBA_TypeCode_struct TC_MESSAGING_msgLines_struct;
#define TC_MESSAGING_msgLines ((CORBA_TypeCode)&TC_MESSAGING_msgLines_struct)
#endif
   extern MESSAGING_msgLines *MESSAGING_msgLines__alloc(void);
   extern gpointer MESSAGING_msgLines__free(gpointer mem, gpointer dat,
					    CORBA_boolean free_strings);	/* ORBit internal use */
#endif
#if !defined(_MESSAGING_msg_defined)
#define _MESSAGING_msg_defined 1
   typedef struct
   {
      CORBA_char *fr;
      CORBA_char *to;
      MESSAGING_msgLines body;
   }
   MESSAGING_msg;

#if !defined(TC_IMPL_TC_MESSAGING_msg_0)
#define TC_IMPL_TC_MESSAGING_msg_0 'm'
#define TC_IMPL_TC_MESSAGING_msg_1 's'
#define TC_IMPL_TC_MESSAGING_msg_2 'g'
   extern const struct CORBA_TypeCode_struct TC_MESSAGING_msg_struct;
#define TC_MESSAGING_msg ((CORBA_TypeCode)&TC_MESSAGING_msg_struct)
#endif
   extern MESSAGING_msg *MESSAGING_msg__alloc(void);
   extern gpointer MESSAGING_msg__free(gpointer mem, gpointer dat,
				       CORBA_boolean free_strings);	/* ORBit internal use */
#endif
#if !defined(ORBIT_DECL_MESSAGING_mail) && !defined(_MESSAGING_mail_defined)
#define ORBIT_DECL_MESSAGING_mail 1
#define _MESSAGING_mail_defined 1
#define MESSAGING_mail__free CORBA_Object__free
   typedef CORBA_Object MESSAGING_mail;
   extern CORBA_unsigned_long MESSAGING_mail__classid;
#if !defined(TC_IMPL_TC_MESSAGING_mail_0)
#define TC_IMPL_TC_MESSAGING_mail_0 'm'
#define TC_IMPL_TC_MESSAGING_mail_1 's'
#define TC_IMPL_TC_MESSAGING_mail_2 'g'
   extern const struct CORBA_TypeCode_struct TC_MESSAGING_mail_struct;
#define TC_MESSAGING_mail ((CORBA_TypeCode)&TC_MESSAGING_mail_struct)
#endif
#endif

/** POA structures **/
   typedef struct
   {
      void *_private;
      void (*submit) (PortableServer_Servant _servant,
		      const MESSAGING_msg * message, CORBA_Environment * ev);
   }
   POA_MESSAGING_mail__epv;
   typedef struct
   {
      PortableServer_ServantBase__epv *_base_epv;
      POA_MESSAGING_mail__epv *MESSAGING_mail_epv;
   }
   POA_MESSAGING_mail__vepv;
   typedef struct
   {
      void *_private;
      POA_MESSAGING_mail__vepv *vepv;
   }
   POA_MESSAGING_mail;
   extern void POA_MESSAGING_mail__init(PortableServer_Servant servant,
					CORBA_Environment * ev);
   extern void POA_MESSAGING_mail__fini(PortableServer_Servant servant,
					CORBA_Environment * ev);

/** prototypes **/
   void MESSAGING_mail_submit(MESSAGING_mail _obj,
			      const MESSAGING_msg * message,
			      CORBA_Environment * ev);

   void _ORBIT_skel_MESSAGING_mail_submit(POA_MESSAGING_mail * _ORBIT_servant,
					  GIOPRecvBuffer * _ORBIT_recv_buffer,
					  CORBA_Environment * ev,
					  void (*_impl_submit)
					  (PortableServer_Servant _servant,
					   const MESSAGING_msg * message,
					   CORBA_Environment * ev));
#ifdef __cplusplus
}
#endif				/* __cplusplus */

#endif
#undef ORBIT_IDL_SERIAL
