/* This is part of the Aw:: Perl module.  A Perl interface to the ActiveWorks(tm)
   libraries.  Copyright (C) 1999-2000 Daniel Yacob.

   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public
   License as published by the Free Software Foundation; either
   version 2 of the License, or (at your option) any later version.

   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.

   You should have received a copy of the GNU Library General Public
   License along with this library; if not, write to the Free
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

#ifndef HASHTOEVENT_H
#define HASHTOEVENT_H 1

BrokerError awxsSetField ( BrokerEvent event, char * field_name, short field_type, SV* sv, BrokerEvent rootEvent, char * full_field_name );
BrokerError awxsSetSequenceField ( BrokerEvent event, char * field_name, short field_type, int src_offset, int dest_offset, AV* av, BrokerEvent rootEvent, char * full_field_name );
BrokerEvent setStructFieldFromEvent ( BrokerEvent event, char * full_field_name, HV* hv, BrokerEvent rootEvent );
BrokerError awxsSetEventFromHash ( BrokerEvent event, HV * hv );
BrokerError awxsSetEventFromTypedHash ( BrokerEvent event, HV * data,  HV * type );
void hashWalk ( HV * hash );


#endif /* HASHTOEVENT_H */