/* SGML parse and stream definition for libwww SGML AND STRUCTURED STREAMS The SGML parser is a state machine. It is called for every character of the input stream. The DTD data structure contains pointers to functions which are called to implement the actual effect of the text read. When these functions are called, the attribute structures pointed to by the DTD are valid, and the function is passed a pointer to the current tag structure, and an "element stack" which represents the state of nesting within SGML elements. The following aspects are from Dan Connolly's suggestions: Binary search, Structured object scheme basically, SGML content enum type. (c) Copyright CERN 1991 - See Copyright.html */ #ifndef SGML_H #define SGML_H #include #include /* SGML content types */ typedef enum _SGMLContent { SGML_EMPTY, /* No content. */ SGML_LITTERAL, /* Literal character data. Recognize exact close tag only. Old www server compatibility only! Not SGML */ SGML_CDATA, /* Character data. Recognize