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

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

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

/** typedefs **/
#if !defined(ORBIT_DECL_balsa_mail_send) && !defined(_balsa_mail_send_defined)
#define ORBIT_DECL_balsa_mail_send 1
#define _balsa_mail_send_defined 1
#define balsa_mail_send__free CORBA_Object__free
   typedef CORBA_Object balsa_mail_send;
   extern CORBA_unsigned_long balsa_mail_send__classid;
#endif
#if !defined(ORBIT_DECL_balsa_mailbox_info) && !defined(_balsa_mailbox_info_defined)
#define ORBIT_DECL_balsa_mailbox_info 1
#define _balsa_mailbox_info_defined 1
#define balsa_mailbox_info__free CORBA_Object__free
   typedef CORBA_Object balsa_mailbox_info;
   extern CORBA_unsigned_long balsa_mailbox_info__classid;
#endif

/** POA structures **/
   typedef struct
   {
      void *_private;
      
	 CORBA_boolean(*to) (PortableServer_Servant _servant, CORBA_char * to,
			     CORBA_Environment * ev);
       CORBA_boolean(*attachment) (PortableServer_Servant _servant,
				   CORBA_char * to, CORBA_char * filename,
				   CORBA_Environment * ev);
   }
   POA_balsa_mail_send__epv;
   typedef struct
   {
      PortableServer_ServantBase__epv *_base_epv;
      POA_balsa_mail_send__epv *balsa_mail_send_epv;
   }
   POA_balsa_mail_send__vepv;
   typedef struct
   {
      void *_private;
      POA_balsa_mail_send__vepv *vepv;
   }
   POA_balsa_mail_send;
   extern void POA_balsa_mail_send__init(PortableServer_Servant servant,
					 CORBA_Environment * ev);
   extern void POA_balsa_mail_send__fini(PortableServer_Servant servant,
					 CORBA_Environment * ev);
   typedef struct
   {
      void *_private;
      
	 CORBA_boolean(*newmail) (PortableServer_Servant _servant,
				  CORBA_char * path, CORBA_Environment * ev);
       CORBA_long(*num_msgs) (PortableServer_Servant _servant,
			      CORBA_char * path, CORBA_Environment * ev);
   }
   POA_balsa_mailbox_info__epv;
   typedef struct
   {
      PortableServer_ServantBase__epv *_base_epv;
      POA_balsa_mailbox_info__epv *balsa_mailbox_info_epv;
   }
   POA_balsa_mailbox_info__vepv;
   typedef struct
   {
      void *_private;
      POA_balsa_mailbox_info__vepv *vepv;
   }
   POA_balsa_mailbox_info;
   extern void POA_balsa_mailbox_info__init(PortableServer_Servant servant,
					    CORBA_Environment * ev);
   extern void POA_balsa_mailbox_info__fini(PortableServer_Servant servant,
					    CORBA_Environment * ev);

/** prototypes **/
   CORBA_boolean balsa_mail_send_to(balsa_mail_send _obj, CORBA_char * to,
				    CORBA_Environment * ev);
   CORBA_boolean balsa_mail_send_attachment(balsa_mail_send _obj,
					    CORBA_char * to,
					    CORBA_char * filename,
					    CORBA_Environment * ev);
   CORBA_boolean balsa_mailbox_info_newmail(balsa_mailbox_info _obj,
					    CORBA_char * path,
					    CORBA_Environment * ev);
   CORBA_long balsa_mailbox_info_num_msgs(balsa_mailbox_info _obj,
					  CORBA_char * path,
					  CORBA_Environment * ev);

   void _ORBIT_skel_balsa_mail_send_to(POA_balsa_mail_send * _ORBIT_servant,
				       GIOPRecvBuffer * _ORBIT_recv_buffer,
				       CORBA_Environment * ev,
				       CORBA_boolean(*_impl_to)
				       (PortableServer_Servant _servant,
					CORBA_char * to,
					CORBA_Environment * ev));
   void _ORBIT_skel_balsa_mail_send_attachment(POA_balsa_mail_send *
					       _ORBIT_servant,
					       GIOPRecvBuffer *
					       _ORBIT_recv_buffer,
					       CORBA_Environment * ev,
					       CORBA_boolean
					       (*_impl_attachment)
					       (PortableServer_Servant
						_servant, CORBA_char * to,
						CORBA_char * filename,
						CORBA_Environment * ev));
   void _ORBIT_skel_balsa_mailbox_info_newmail(POA_balsa_mailbox_info *
					       _ORBIT_servant,
					       GIOPRecvBuffer *
					       _ORBIT_recv_buffer,
					       CORBA_Environment * ev,
					       CORBA_boolean(*_impl_newmail)
					       (PortableServer_Servant
						_servant, CORBA_char * path,
						CORBA_Environment * ev));
   void _ORBIT_skel_balsa_mailbox_info_num_msgs(POA_balsa_mailbox_info *
						_ORBIT_servant,
						GIOPRecvBuffer *
						_ORBIT_recv_buffer,
						CORBA_Environment * ev,
						CORBA_long(*_impl_num_msgs)
						(PortableServer_Servant
						 _servant, CORBA_char * path,
						 CORBA_Environment * ev));
#ifdef __cplusplus
}
#endif				/* __cplusplus */

#endif
#undef ORBIT_IDL_SERIAL
