#ifndef CLIB_HYPERTEXTDTCLASS_PROTOS_H
#define CLIB_HYPERTEXTDTCLASS_PROTOS_H
/*
** $PROJECT: hypertext.datatype
**
** $VER: hypertextdtclass_protos.h 40.4 (08.08.96)
**
** by
**
** Stefan Ruppert , Windthorststrasse 5 , 65439 Floersheim , GERMANY
**
** (C) Copyright 1996
** All Rights Reserved !
**
*/

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
#ifndef UTILITY_TAGITEM_H
#include <utiltiy/tagitem.h>
#endif
#ifndef DATATYPES_HYPERTEXTCLASS_H
#include <datatypes/hypertextclass.h>
#endif

Class *ObtainHyperTextEngine(void);

struct HTSegInfo *AllocSegInfoA(struct TagItem *tagList);
struct HTSegInfo *AllocSegInfo(ULONG tag1,...);

void FreeSegInfo(struct HTSegInfo *seginfo);

struct HTSegment *AllocSegmentA(struct HTSegInfo *seginfo,ULONG type,struct TagItem *tagList);
struct HTSegment *AllocSegment(struct HTSegInfo *seginfo,ULONG type,ULONG tag1,...);

void FreeSegment(struct HTSegInfo *seginfo,struct HTSegment *seg);

struct HTConvInfo *AllocConvInfoA(struct HTSegInfo *seginfo,struct TagItem *segTagList,struct TagItem *tagList);
struct HTConvInfo *AllocConvInfo(struct HTSegInfo *seginfo,struct TagItem *segTagList,Tag tag1,...);
void FreeConvInfo(struct HTConvInfo *convinfo);

STRPTR ConvertAttributes(struct HTConvInfo *convinfo,STRPTR string,ULONG len);

#endif

