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

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

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

/** typedefs **/
#if !defined(ORBIT_DECL_SECURITY_USERAUTH) && !defined(_SECURITY_USERAUTH_defined)
#define ORBIT_DECL_SECURITY_USERAUTH 1
#define _SECURITY_USERAUTH_defined 1
#define SECURITY_USERAUTH__free CORBA_Object__free
   typedef CORBA_Object SECURITY_USERAUTH;
   extern CORBA_unsigned_long SECURITY_USERAUTH__classid;
#if !defined(TC_IMPL_TC_SECURITY_USERAUTH_0)
#define TC_IMPL_TC_SECURITY_USERAUTH_0 's'
#define TC_IMPL_TC_SECURITY_USERAUTH_1 'e'
#define TC_IMPL_TC_SECURITY_USERAUTH_2 'c'
#define TC_IMPL_TC_SECURITY_USERAUTH_3 'u'
#define TC_IMPL_TC_SECURITY_USERAUTH_4 'r'
#define TC_IMPL_TC_SECURITY_USERAUTH_5 'i'
#define TC_IMPL_TC_SECURITY_USERAUTH_6 't'
#define TC_IMPL_TC_SECURITY_USERAUTH_7 'y'
   extern const struct CORBA_TypeCode_struct TC_SECURITY_USERAUTH_struct;
#define TC_SECURITY_USERAUTH ((CORBA_TypeCode)&TC_SECURITY_USERAUTH_struct)
#endif
#endif
#define ex_SECURITY_USERAUTH_NOTAUTHENTICATED "IDL:SECURITY/USERAUTH/NOTAUTHENTICATED:1.0"
   void _ORBIT_SECURITY_USERAUTH_NOTAUTHENTICATED_demarshal(GIOPRecvBuffer *
							    _ORBIT_recv_buffer,
							    CORBA_Environment
							    * ev);
   void _ORBIT_SECURITY_USERAUTH_NOTAUTHENTICATED_marshal(GIOPSendBuffer *
							  _ORBIT_send_buffer,
							  CORBA_Environment *
							  ev);
#if !defined(_SECURITY_USERAUTH_NOTAUTHENTICATED_defined)
#define _SECURITY_USERAUTH_NOTAUTHENTICATED_defined 1
   typedef struct
   {
      int dummy;
   }
   SECURITY_USERAUTH_NOTAUTHENTICATED;

#if !defined(TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_0)
#define TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_0 's'
#define TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_1 'e'
#define TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_2 'c'
#define TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_3 'u'
#define TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_4 'r'
#define TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_5 'i'
#define TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_6 't'
#define TC_IMPL_TC_SECURITY_USERAUTH_NOTAUTHENTICATED_7 'y'
   extern const struct CORBA_TypeCode_struct
      TC_SECURITY_USERAUTH_NOTAUTHENTICATED_struct;
#define TC_SECURITY_USERAUTH_NOTAUTHENTICATED ((CORBA_TypeCode)&TC_SECURITY_USERAUTH_NOTAUTHENTICATED_struct)
#endif
#define SECURITY_USERAUTH_NOTAUTHENTICATED__alloc() NULL
   extern gpointer SECURITY_USERAUTH_NOTAUTHENTICATED__free(gpointer mem,
							    gpointer dat,
							    CORBA_boolean free_strings);	/* ORBit internal use */
#endif

/** POA structures **/
   typedef struct
   {
      void *_private;
      void (*login) (PortableServer_Servant _servant, const CORBA_char * user,
		     const CORBA_char * password, CORBA_long * token,
		     CORBA_Environment * ev);
      void (*validate) (PortableServer_Servant _servant,
			const CORBA_char * user,
			const CORBA_char * capability,
			CORBA_Environment * ev);
   }
   POA_SECURITY_USERAUTH__epv;
   typedef struct
   {
      PortableServer_ServantBase__epv *_base_epv;
      POA_SECURITY_USERAUTH__epv *SECURITY_USERAUTH_epv;
   }
   POA_SECURITY_USERAUTH__vepv;
   typedef struct
   {
      void *_private;
      POA_SECURITY_USERAUTH__vepv *vepv;
   }
   POA_SECURITY_USERAUTH;
   extern void POA_SECURITY_USERAUTH__init(PortableServer_Servant servant,
					   CORBA_Environment * ev);
   extern void POA_SECURITY_USERAUTH__fini(PortableServer_Servant servant,
					   CORBA_Environment * ev);

/** prototypes **/
   void SECURITY_USERAUTH_login(SECURITY_USERAUTH _obj,
				const CORBA_char * user,
				const CORBA_char * password,
				CORBA_long * token, CORBA_Environment * ev);
   void SECURITY_USERAUTH_validate(SECURITY_USERAUTH _obj,
				   const CORBA_char * user,
				   const CORBA_char * capability,
				   CORBA_Environment * ev);

   void _ORBIT_skel_SECURITY_USERAUTH_login(POA_SECURITY_USERAUTH *
					    _ORBIT_servant,
					    GIOPRecvBuffer *
					    _ORBIT_recv_buffer,
					    CORBA_Environment * ev,
					    void (*_impl_login)
					    (PortableServer_Servant _servant,
					     const CORBA_char * user,
					     const CORBA_char * password,
					     CORBA_long * token,
					     CORBA_Environment * ev));
   void _ORBIT_skel_SECURITY_USERAUTH_validate(POA_SECURITY_USERAUTH *
					       _ORBIT_servant,
					       GIOPRecvBuffer *
					       _ORBIT_recv_buffer,
					       CORBA_Environment * ev,
					       void (*_impl_validate)
					       (PortableServer_Servant
						_servant,
						const CORBA_char * user,
						const CORBA_char * capability,
						CORBA_Environment * ev));
#ifdef __cplusplus
}
#endif				/* __cplusplus */

#endif
#undef ORBIT_IDL_SERIAL
