/********************************************************************/
/*                                                                  */
/* Licensed Materials - Property of IBM                             */
/*                                                                  */
/* US Government Users Restricted Rights - Use, duplication or      */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.*/
/*                                                                  */
/* OCO Source Materials                                             */
/*                                                                  */
/* IBM IMS TCP/IP OTMA Connection, Version 2, Release 1             */
/* (C) Copyright IBM Corp. 1997, 1998.  All Rights Reserved.        */
/*                                                                  */
/* The source code for this program is not published or otherwise   */
/* divested of its trade secrets, irrespective of what has been     */
/* deposited with the U.S. Copyright Office.                        */
/*                                                                  */
/********************************************************************/

#ifndef HWSSGMNT_HPP
#define HWSSGMNT_HPP

#include "hws.h"

/*--------------------------------------------------------------------*/
/* The HWSSegment class represents a segment of an IMS message.       */
/*--------------------------------------------------------------------*/
class DllExport HWSSegment {

   /*-----------------------------------------------------------------*/
   /* Public methods and attributes.                                  */
   /*-----------------------------------------------------------------*/
   public:

   HWSSegment( void     *segData,
               int      segLength );
   ~HWSSegment();

   void       *data;
   int        length;
   HWSSegment *previous;
   HWSSegment *next;

};

#endif

