From 1731304c3bb38d7e7423ee622915cef4512ae4f5 Mon Sep 17 00:00:00 2001 From: Nvinside Date: Sat, 2 Oct 2010 20:15:21 +0000 Subject: + fixed some errors - removed some crap git-svn-id: http://mirotr.googlecode.com/svn/trunk@41 eced67a3-f377-a0ae-92ae-d6de1850b05a --- ekhtml/docs/html/annotated.html | 18 - ekhtml/docs/html/doxygen.css | 49 -- ekhtml/docs/html/doxygen.gif | Bin 2378 -> 0 bytes ekhtml/docs/html/ekhtml_8h.html | 687 --------------------- ekhtml/docs/html/files.html | 17 - ekhtml/docs/html/ftv2blank.gif | Bin 135 -> 0 bytes ekhtml/docs/html/ftv2doc.gif | Bin 144 -> 0 bytes ekhtml/docs/html/ftv2folderclosed.gif | Bin 135 -> 0 bytes ekhtml/docs/html/ftv2folderopen.gif | Bin 154 -> 0 bytes ekhtml/docs/html/ftv2lastnode.gif | Bin 142 -> 0 bytes ekhtml/docs/html/ftv2link.gif | Bin 234 -> 0 bytes ekhtml/docs/html/ftv2mlastnode.gif | Bin 125 -> 0 bytes ekhtml/docs/html/ftv2mnode.gif | Bin 129 -> 0 bytes ekhtml/docs/html/ftv2node.gif | Bin 147 -> 0 bytes ekhtml/docs/html/ftv2plastnode.gif | Bin 130 -> 0 bytes ekhtml/docs/html/ftv2pnode.gif | Bin 133 -> 0 bytes ekhtml/docs/html/ftv2vertline.gif | Bin 140 -> 0 bytes ekhtml/docs/html/functions.html | 22 - ekhtml/docs/html/globals.html | 32 - ekhtml/docs/html/index.html | 7 - ekhtml/docs/html/main.html | 16 - .../docs/html/structekhtml__attr__t-members.html | 19 - ekhtml/docs/html/structekhtml__attr__t.html | 39 -- .../docs/html/structekhtml__string__t-members.html | 17 - ekhtml/docs/html/structekhtml__string__t.html | 33 - ekhtml/docs/html/tree.html | 11 - ekhtml/docs/html/tree.js | 9 - ekhtml/docs/html/treeview.js | 500 --------------- 28 files changed, 1476 deletions(-) delete mode 100644 ekhtml/docs/html/annotated.html delete mode 100644 ekhtml/docs/html/doxygen.css delete mode 100644 ekhtml/docs/html/doxygen.gif delete mode 100644 ekhtml/docs/html/ekhtml_8h.html delete mode 100644 ekhtml/docs/html/files.html delete mode 100644 ekhtml/docs/html/ftv2blank.gif delete mode 100644 ekhtml/docs/html/ftv2doc.gif delete mode 100644 ekhtml/docs/html/ftv2folderclosed.gif delete mode 100644 ekhtml/docs/html/ftv2folderopen.gif delete mode 100644 ekhtml/docs/html/ftv2lastnode.gif delete mode 100644 ekhtml/docs/html/ftv2link.gif delete mode 100644 ekhtml/docs/html/ftv2mlastnode.gif delete mode 100644 ekhtml/docs/html/ftv2mnode.gif delete mode 100644 ekhtml/docs/html/ftv2node.gif delete mode 100644 ekhtml/docs/html/ftv2plastnode.gif delete mode 100644 ekhtml/docs/html/ftv2pnode.gif delete mode 100644 ekhtml/docs/html/ftv2vertline.gif delete mode 100644 ekhtml/docs/html/functions.html delete mode 100644 ekhtml/docs/html/globals.html delete mode 100644 ekhtml/docs/html/index.html delete mode 100644 ekhtml/docs/html/main.html delete mode 100644 ekhtml/docs/html/structekhtml__attr__t-members.html delete mode 100644 ekhtml/docs/html/structekhtml__attr__t.html delete mode 100644 ekhtml/docs/html/structekhtml__string__t-members.html delete mode 100644 ekhtml/docs/html/structekhtml__string__t.html delete mode 100644 ekhtml/docs/html/tree.html delete mode 100644 ekhtml/docs/html/tree.js delete mode 100644 ekhtml/docs/html/treeview.js (limited to 'ekhtml/docs/html') diff --git a/ekhtml/docs/html/annotated.html b/ekhtml/docs/html/annotated.html deleted file mode 100644 index 2a6f9bf..0000000 --- a/ekhtml/docs/html/annotated.html +++ /dev/null @@ -1,18 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml Compound List

Here are the classes, structs, unions and interfaces with brief descriptions: - - -
ekhtml_attr_tAttribute object, passed into callbacks
ekhtml_string_tA string object, which is not NUL terminated
-
Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/doxygen.css b/ekhtml/docs/html/doxygen.css deleted file mode 100644 index 841f709..0000000 --- a/ekhtml/docs/html/doxygen.css +++ /dev/null @@ -1,49 +0,0 @@ -H1 { text-align: center; } -CAPTION { font-weight: bold } -A.qindex {} -A.qindexRef {} -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code { text-decoration: none; font-weight: normal; color: #4444ee } -A.codeRef { font-weight: normal; color: #4444ee } -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } -DIV.fragment { width: 100%; border: none; background-color: #eeeeee } -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: #f2f2ff; font-weight: bold; } -TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; } -TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold } -DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller } -BODY { background: white } -TD.indexkey { - background-color: #eeeeff; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -TD.indexvalue { - background-color: #eeeeff; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -FONT.keyword { color: #008000 } -FONT.keywordtype { color: #604020 } -FONT.keywordflow { color: #e08000 } -FONT.comment { color: #800000 } -FONT.preprocessor { color: #806020 } -FONT.stringliteral { color: #002080 } -FONT.charliteral { color: #008080 } diff --git a/ekhtml/docs/html/doxygen.gif b/ekhtml/docs/html/doxygen.gif deleted file mode 100644 index 192c83c..0000000 Binary files a/ekhtml/docs/html/doxygen.gif and /dev/null differ diff --git a/ekhtml/docs/html/ekhtml_8h.html b/ekhtml/docs/html/ekhtml_8h.html deleted file mode 100644 index cdb27e4..0000000 --- a/ekhtml/docs/html/ekhtml_8h.html +++ /dev/null @@ -1,687 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml.h File Reference

Main El-Kabong header file. -More... -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Compounds

struct  ekhtml_attr_t
 Attribute object, passed into callbacks. More...

struct  ekhtml_string_t
 A string object, which is not NUL terminated. More...


Defines

-#define EKHTML_BLOCKSIZE   (1024 * 4)
 EKHTML_BLOCKSIZE = # of blocks to allocate per chunk.


Typedefs

typedef ekhtml_string_t ekhtml_string_t
 A string object, which is not NUL terminated. More...

typedef ekhtml_attr_t ekhtml_attr_t
 Attribute object, passed into callbacks. More...

typedef ekhtml_parser_t ekhtml_parser_t
 The parser object. More...

typedef void(* ekhtml_data_cb_t )(void *cbdata, ekhtml_string_t *data)
 Callback for simple data. More...

typedef void(* ekhtml_starttag_cb_t )(void *cbdata, ekhtml_string_t *tag, ekhtml_attr_t *attrs)
 Callback for start tags. More...

typedef void(* ekhtml_endtag_cb_t )(void *cbdata, ekhtml_string_t *tag)
 Callback for end tags. More...


Functions

ekhtml_parser_tekhtml_parser_new (void *cbdata)
 Create a new parser object. More...

void ekhtml_parser_destroy (ekhtml_parser_t *parser)
 Destroys a parser object and all memory associated with it. More...

void ekhtml_parser_cbdata_set (ekhtml_parser_t *parser, void *cbdata)
 Set the callback data for the parser. More...

void ekhtml_parser_datacb_set (ekhtml_parser_t *parser, ekhtml_data_cb_t cb)
 Set the parser's data callback. More...

void ekhtml_parser_commentcb_set (ekhtml_parser_t *parser, ekhtml_data_cb_t cb)
 Set the parser's comment callback. More...

void ekhtml_parser_feed (ekhtml_parser_t *parser, ekhtml_string_t *data)
 Feed data for the parser to process. More...

int ekhtml_parser_flush (ekhtml_parser_t *parser, int flushall)
 Flush the parser innards. More...

void ekhtml_parser_startcb_add (ekhtml_parser_t *parser, const char *tag, ekhtml_starttag_cb_t cb)
 Add a callback for a start tag. More...

void ekhtml_parser_endcb_add (ekhtml_parser_t *parser, const char *tag, ekhtml_endtag_cb_t cb)
 Add a callback for an end tag. More...

-


Detailed Description

-Main El-Kabong header file. -

- -

- -

- This header defines everything that a program should need to use the El-Kabong library. -

-


Typedef Documentation

-

- - - - -
- - -
typedef struct ekhtml_attr_t ekhtml_attr_t -
-
- - - - - -
-   - - -

-Attribute object, passed into callbacks. -

-When ekhtml parses tags containing key/value attributes, it will pass this structure representing those values into the callbacks. Note, for speed reasons, things such as the 'name' and 'value' fields are not terminated with '\0', and therefore have an associated length field (namelen, vallen).

-

- - - - -
- - -
typedef void(* ekhtml_data_cb_t)(void *cbdata, ekhtml_string_t *data) -
-
- - - - - -
-   - - -

-Callback for simple data. -

-Callback functions of this form are used to process data which is not part of a start or end tag. This callback may also be used to process the body of comment tags. -

-I.e. <FOO>data_to_process</FOO> The data passed into the callback function will be "data_to_process"

-Parameters:
- - - -
cbdata  -Callback data, as previously set by ekhtml_parser_cbdata_set
data  -A pointer to the data in-between tags.
-
-See also:
-ekhtml_parser_cbdata_set() , ekhtml_parser_datacb_set()
-

- - - - -
- - -
typedef void(* ekhtml_endtag_cb_t)(void *cbdata, ekhtml_string_t *tag) -
-
- - - - - -
-   - - -

-Callback for end tags. -

-Callback functions of this form are used to process end tags. -

-I.e. <FOO>data_to_process</FOO> The tag passed into the callback will be "FOO" with a length of 3.

-Parameters:
- - - -
cbdata  -Callback data, as previously set by ekhtml_parser_cbdata_set
tag  -A pointer to tag name. This is a traditional NUL terminated string.
-
-See also:
-ekhtml_parser_cbdata_set() , ekhtml_parser_endcb_add()
-

- - - - -
- - -
typedef struct ekhtml_parser_t ekhtml_parser_t -
-
- - - - - -
-   - - -

-The parser object. -

-The parser object holds state information, such as which callbacks to invoke when reading tags, how much data is being processed, etc.

-

- - - - -
- - -
typedef void(* ekhtml_starttag_cb_t)(void *cbdata, ekhtml_string_t *tag, ekhtml_attr_t *attrs) -
-
- - - - - -
-   - - -

-Callback for start tags. -

-Callback functions of this form are used to process start tags. -

-I.e. <FOO>data_to_process</FOO> The tag passed into the callback will be "FOO" with a length of 3.

-Parameters:
- - - - -
cbdata  -Callback data, as previously set by ekhtml_parser_cbdata_set
tag  -A pointer to tag name. This is a traditional NUL terminated string.
attrs  -Attributes of the tag.
-
-See also:
-ekhtml_parser_cbdata_set() , ekhtml_parser_startcb_add()
-

- - - - -
- - -
typedef struct ekhtml_string_t ekhtml_string_t -
-
- - - - - -
-   - - -

-A string object, which is not NUL terminated. -

-For speed reasons, El-Kabong does not deal with zero-terminated strings.

-


Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
void ekhtml_parser_cbdata_set ekhtml_parser_t  parser,
void *   cbdata
-
- - - - - -
-   - - -

-Set the callback data for the parser. -

-This routine sets the callback data which is passed to set callbacks.

-Parameters:
- - - -
parser  -Parser to set the callback data for
cbdata  -Callback data the parser should use to pass to callbacks
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - -
void ekhtml_parser_commentcb_set ekhtml_parser_t  parser,
ekhtml_data_cb_t   cb
-
- - - - - -
-   - - -

-Set the parser's comment callback. -

-This routine sets the callback which should be invoked when the parser processes a comment.

-Parameters:
- - - -
parser  -Parser to set the callback for
cb  -Callback to invoke when processing a comment
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - -
void ekhtml_parser_datacb_set ekhtml_parser_t  parser,
ekhtml_data_cb_t   cb
-
- - - - - -
-   - - -

-Set the parser's data callback. -

-This routine sets the callback which should be invoked for non-tagged data.

-Parameters:
- - - -
parser  -Parser to set the callback for
cb  -Callback to invoke when processing non-tagged data
-
-

- - - - -
- - - - - - - - - - -
void ekhtml_parser_destroy ekhtml_parser_t  parser
-
- - - - - -
-   - - -

-Destroys a parser object and all memory associated with it. -

-After calling this routine, the parser should no longer be used, as any results would be undefined.

-Parameters:
- - -
parser  -The parser to destroy
-
-See also:
-ekhtml_parser_new()
-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
void ekhtml_parser_endcb_add ekhtml_parser_t  parser,
const char *   tag,
ekhtml_endtag_cb_t   cb
-
- - - - - -
-   - - -

-Add a callback for an end tag. -

-This routine sets the callback which should be invoked when the parser processes an end tag. Both specific tags, and unknown tags can be used with this method.

-Parameters:
- - - - -
parser  -Parser to set the callback for
tag  -Name of the tag to call `cb` for. If `tag` is NULL, then any tags which are unknown to the parser will be sent to the callback specified by `cb`.
cb  -Callback to invoke
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - -
void ekhtml_parser_feed ekhtml_parser_t  parser,
ekhtml_string_t  data
-
- - - - - -
-   - - -

-Feed data for the parser to process. -

-Feed data into the HTML parser. This routine will fill up the internal buffer until it can go no more, then flush the data and refill. If there is more data that is required than the internal buffer can hold, it will be resized

-Parameters:
- - - -
parser  -Parser to feed data to
data  -Data to feed to the parser
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - -
int ekhtml_parser_flush ekhtml_parser_t  parser,
int   flushall
-
- - - - - -
-   - - -

-Flush the parser innards. -

-When this function is invoked, the parser will flush all data that is currently held, and any remaining state is saved. All data which is processed is removed from the parser, and the internal buffer is reshuffled.

-Parameters:
- - - -
parser  -Parser to flush
flushall  -If true, will flush all data, even if tags are not complete (i.e. "<FO")
-
-Returns:
-1 if action was taken (i.e. bytes were processed and the internal buffer was reshuffled) else 0
-

- - - - -
- - - - - - - - - - -
ekhtml_parser_t* ekhtml_parser_new void *   cbdata
-
- - - - - -
-   - - -

-Create a new parser object. -

-This routine creates a new parser object, with no set callback functions or state.

-Parameters:
- - -
cbdata  -Callback data to use when invoking callbacks
-
-Returns:
-A new ekhtml_parser_t object
-See also:
-ekhtml_parser_cbdata_set()
-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
void ekhtml_parser_startcb_add ekhtml_parser_t  parser,
const char *   tag,
ekhtml_starttag_cb_t   cb
-
- - - - - -
-   - - -

-Add a callback for a start tag. -

-This routine sets the callback which should be invoked when the parser processes a start tag. Both specific tags, and unknown tags can be used with this method.

-Parameters:
- - - - -
parser  -Parser to set the callback for
tag  -Name of the tag to call `cb` for. If `tag` is NULL, then any tags which are unknown to the parser will be sent to the callback specified by `cb`.
cb  -Callback to invoke
-
-


Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/files.html b/ekhtml/docs/html/files.html deleted file mode 100644 index 6bad25b..0000000 --- a/ekhtml/docs/html/files.html +++ /dev/null @@ -1,17 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml File List

Here is a list of all documented files with brief descriptions: - -
ekhtml.hMain El-Kabong header file
-
Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/ftv2blank.gif b/ekhtml/docs/html/ftv2blank.gif deleted file mode 100644 index 85df9a3..0000000 Binary files a/ekhtml/docs/html/ftv2blank.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2doc.gif b/ekhtml/docs/html/ftv2doc.gif deleted file mode 100644 index 0c55ddf..0000000 Binary files a/ekhtml/docs/html/ftv2doc.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2folderclosed.gif b/ekhtml/docs/html/ftv2folderclosed.gif deleted file mode 100644 index 96f537d..0000000 Binary files a/ekhtml/docs/html/ftv2folderclosed.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2folderopen.gif b/ekhtml/docs/html/ftv2folderopen.gif deleted file mode 100644 index 8cce70c..0000000 Binary files a/ekhtml/docs/html/ftv2folderopen.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2lastnode.gif b/ekhtml/docs/html/ftv2lastnode.gif deleted file mode 100644 index b7b3e55..0000000 Binary files a/ekhtml/docs/html/ftv2lastnode.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2link.gif b/ekhtml/docs/html/ftv2link.gif deleted file mode 100644 index 32d3b9e..0000000 Binary files a/ekhtml/docs/html/ftv2link.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2mlastnode.gif b/ekhtml/docs/html/ftv2mlastnode.gif deleted file mode 100644 index 11ae43a..0000000 Binary files a/ekhtml/docs/html/ftv2mlastnode.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2mnode.gif b/ekhtml/docs/html/ftv2mnode.gif deleted file mode 100644 index b43ce87..0000000 Binary files a/ekhtml/docs/html/ftv2mnode.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2node.gif b/ekhtml/docs/html/ftv2node.gif deleted file mode 100644 index 40167db..0000000 Binary files a/ekhtml/docs/html/ftv2node.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2plastnode.gif b/ekhtml/docs/html/ftv2plastnode.gif deleted file mode 100644 index b87f003..0000000 Binary files a/ekhtml/docs/html/ftv2plastnode.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2pnode.gif b/ekhtml/docs/html/ftv2pnode.gif deleted file mode 100644 index 5b68013..0000000 Binary files a/ekhtml/docs/html/ftv2pnode.gif and /dev/null differ diff --git a/ekhtml/docs/html/ftv2vertline.gif b/ekhtml/docs/html/ftv2vertline.gif deleted file mode 100644 index 63ee93a..0000000 Binary files a/ekhtml/docs/html/ftv2vertline.gif and /dev/null differ diff --git a/ekhtml/docs/html/functions.html b/ekhtml/docs/html/functions.html deleted file mode 100644 index 5cdf57d..0000000 --- a/ekhtml/docs/html/functions.html +++ /dev/null @@ -1,22 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml Compound Members

Here is a list of all documented class members with links to the classes they belong to: -
Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/globals.html b/ekhtml/docs/html/globals.html deleted file mode 100644 index 5f2465b..0000000 --- a/ekhtml/docs/html/globals.html +++ /dev/null @@ -1,32 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml File Members

Here is a list of all documented file members with links to the documentation: -
Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/index.html b/ekhtml/docs/html/index.html deleted file mode 100644 index ab2d01d..0000000 --- a/ekhtml/docs/html/index.html +++ /dev/null @@ -1,7 +0,0 @@ - -ekhtml - - - - - diff --git a/ekhtml/docs/html/main.html b/ekhtml/docs/html/main.html deleted file mode 100644 index 9b8f407..0000000 --- a/ekhtml/docs/html/main.html +++ /dev/null @@ -1,16 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml Documentation

-

-

Version 0.3.2


Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/structekhtml__attr__t-members.html b/ekhtml/docs/html/structekhtml__attr__t-members.html deleted file mode 100644 index bdbc38d..0000000 --- a/ekhtml/docs/html/structekhtml__attr__t-members.html +++ /dev/null @@ -1,19 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml_attr_t Member List

This is the complete list of members for ekhtml_attr_t, including all inherited members. - - - - -
isBooleanekhtml_attr_t
nameekhtml_attr_t
nextekhtml_attr_t
valekhtml_attr_t

Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/structekhtml__attr__t.html b/ekhtml/docs/html/structekhtml__attr__t.html deleted file mode 100644 index e286fb0..0000000 --- a/ekhtml/docs/html/structekhtml__attr__t.html +++ /dev/null @@ -1,39 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml_attr_t Struct Reference

Attribute object, passed into callbacks. -More... -

-List of all members. - - - - - - - - - -

Public Attributes

-ekhtml_string_t name
 Name of the attribute.

-ekhtml_string_t val
 Value of the attribute.

-unsigned int isBoolean
 True of the attribute is boolean.

-ekhtml_attr_t * next
 Pointer to next attribute in the list.

-


Detailed Description

-Attribute object, passed into callbacks. -

-When ekhtml parses tags containing key/value attributes, it will pass this structure representing those values into the callbacks. Note, for speed reasons, things such as the 'name' and 'value' fields are not terminated with '\0', and therefore have an associated length field (namelen, vallen). -

-


The documentation for this struct was generated from the following file: -
Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/structekhtml__string__t-members.html b/ekhtml/docs/html/structekhtml__string__t-members.html deleted file mode 100644 index 1428759..0000000 --- a/ekhtml/docs/html/structekhtml__string__t-members.html +++ /dev/null @@ -1,17 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml_string_t Member List

This is the complete list of members for ekhtml_string_t, including all inherited members. - - -
lenekhtml_string_t
strekhtml_string_t

Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/structekhtml__string__t.html b/ekhtml/docs/html/structekhtml__string__t.html deleted file mode 100644 index 5d67d8c..0000000 --- a/ekhtml/docs/html/structekhtml__string__t.html +++ /dev/null @@ -1,33 +0,0 @@ - -
- [El-Kabong Home] -
- -
-Main Page   Compound List   File List   Compound Members   File Members  
-

ekhtml_string_t Struct Reference

A string object, which is not NUL terminated. -More... -

-List of all members. - - - - - -

Public Attributes

-const char * str
 Actual string data.

-size_t len
 Length of the data in `str`.

-


Detailed Description

-A string object, which is not NUL terminated. -

-For speed reasons, El-Kabong does not deal with zero-terminated strings. -

-


The documentation for this struct was generated from the following file: -
Generated on Sun Nov 10 15:54:34 2002 for ekhtml by - -doxygen1.2.14 written by Dimitri van Heesch, - © 1997-2002
- - diff --git a/ekhtml/docs/html/tree.html b/ekhtml/docs/html/tree.html deleted file mode 100644 index ca32b1d..0000000 --- a/ekhtml/docs/html/tree.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/ekhtml/docs/html/tree.js b/ekhtml/docs/html/tree.js deleted file mode 100644 index 76d7ba1..0000000 --- a/ekhtml/docs/html/tree.js +++ /dev/null @@ -1,9 +0,0 @@ -foldersTree = gFld("ekhtml", "", "") - insDoc(foldersTree, gLnk("Main Page", "", "main.html")) -aux1 = insFld(foldersTree, gFld("File List", "", "files.html")) - insDoc(aux1, gLnk("ekhtml.h", "", "ekhtml_8h.html")) -aux1 = insFld(foldersTree, gFld("Compound List", "", "annotated.html")) - insDoc(aux1, gLnk("ekhtml_attr_t", "", "structekhtml__attr__t.html")) - insDoc(aux1, gLnk("ekhtml_string_t", "", "structekhtml__string__t.html")) - insDoc(foldersTree, gLnk("Compound Members", "", "functions.html")) - insDoc(foldersTree, gLnk("File Members", "", "globals.html")) diff --git a/ekhtml/docs/html/treeview.js b/ekhtml/docs/html/treeview.js deleted file mode 100644 index 240d654..0000000 --- a/ekhtml/docs/html/treeview.js +++ /dev/null @@ -1,500 +0,0 @@ -//**************************************************************** -// You are free to copy the "Folder-Tree" script as long as you -// keep this copyright notice: -// Script found in: http://www.geocities.com/Paris/LeftBank/2178/ -// Author: Marcelino Alves Martins (martins@hks.com) December '97. -//**************************************************************** - -//Log of changes: -// 17 Feb 98 - Fix initialization flashing problem with Netscape -// -// 27 Jan 98 - Root folder starts open; support for USETEXTLINKS; -// make the ftien4 a js file -// -// DvH: Dec 2000 - Made some minor changes to support external -// references - -// Definition of class Folder -// ***************************************************************** - -function Folder(folderDescription, tagName, hreference) //constructor -{ - //constant data - this.desc = folderDescription - this.tagName = tagName - this.hreference = hreference - this.id = -1 - this.navObj = 0 - this.iconImg = 0 - this.nodeImg = 0 - this.isLastNode = 0 - - //dynamic data - this.isOpen = true - this.iconSrc = "ftv2folderopen.gif" - this.children = new Array - this.nChildren = 0 - - //methods - this.initialize = initializeFolder - this.setState = setStateFolder - this.addChild = addChild - this.createIndex = createEntryIndex - this.hide = hideFolder - this.display = display - this.renderOb = drawFolder - this.totalHeight = totalHeight - this.subEntries = folderSubEntries - this.outputLink = outputFolderLink -} - -function setStateFolder(isOpen) -{ - var subEntries - var totalHeight - var fIt = 0 - var i=0 - - if (isOpen == this.isOpen) - return - - if (browserVersion == 2) - { - totalHeight = 0 - for (i=0; i < this.nChildren; i++) - totalHeight = totalHeight + this.children[i].navObj.clip.height - subEntries = this.subEntries() - if (this.isOpen) - totalHeight = 0 - totalHeight - for (fIt = this.id + subEntries + 1; fIt < nEntries; fIt++) - indexOfEntries[fIt].navObj.moveBy(0, totalHeight) - } - this.isOpen = isOpen - propagateChangesInState(this) -} - -function propagateChangesInState(folder) -{ - var i=0 - - if (folder.isOpen) - { - if (folder.nodeImg) - if (folder.isLastNode) - folder.nodeImg.src = "ftv2mlastnode.gif" - else - folder.nodeImg.src = "ftv2mnode.gif" - folder.iconImg.src = "ftv2folderopen.gif" - for (i=0; i 0) - auxEv = "" - else - auxEv = "" - - if (level>0) - if (lastNode) //the last 'brother' in the children array - { - this.renderOb(leftSide + auxEv + "") - leftSide = leftSide + "" - this.isLastNode = 1 - } - else - { - this.renderOb(leftSide + auxEv + "") - leftSide = leftSide + "" - this.isLastNode = 0 - } - else - this.renderOb("") - - if (nc > 0) - { - level = level + 1 - for (i=0 ; i < this.nChildren; i++) - { - if (i == this.nChildren-1) - this.children[i].initialize(level, 1, leftSide) - else - this.children[i].initialize(level, 0, leftSide) - } - } -} - -function drawFolder(leftSide) -{ - if (browserVersion == 2) { - if (!doc.yPos) - doc.yPos=8 - doc.write("") - } - if (browserVersion == 3) - { - doc.write("
") - } - - doc.write("\n") - doc.write("\n\n") - doc.write("\n
") - doc.write(leftSide) - this.outputLink() - doc.write("") - doc.write("") - if (USETEXTLINKS) - { - this.outputLink() - doc.write(this.desc + "") - } - else - doc.write(this.desc) - if (this.tagName!="") - { - doc.write(" [external]") - } - doc.write("
\n") - - if (browserVersion == 2) { - doc.write("") - } - if (browserVersion == 3) { - doc.write("
") - } - - if (browserVersion == 1) { - this.navObj = doc.all["folder"+this.id] - this.iconImg = doc.all["folderIcon"+this.id] - this.nodeImg = doc.all["nodeIcon"+this.id] - } else if (browserVersion == 2) { - this.navObj = doc.layers["folder"+this.id] - this.iconImg = this.navObj.document.images["folderIcon"+this.id] - this.nodeImg = this.navObj.document.images["nodeIcon"+this.id] - doc.yPos=doc.yPos+this.navObj.clip.height - } else if (browserVersion == 3) { - this.navObj = doc.getElementById("folder"+this.id) - this.iconImg = doc.images.namedItem("folderIcon"+this.id) - this.nodeImg = doc.images.namedItem("nodeIcon"+this.id) - } -} - -function outputFolderLink() -{ - if (this.hreference) - { - doc.write(" 0) - doc.write("onClick='javascript:clickOnFolder("+this.id+")'") - doc.write(">") - } - else - doc.write("") -} - -function addChild(childNode) -{ - this.children[this.nChildren] = childNode - this.nChildren++ - return childNode -} - -function folderSubEntries() -{ - var i = 0 - var se = this.nChildren - - for (i=0; i < this.nChildren; i++){ - if (this.children[i].children) //is a folder - se = se + this.children[i].subEntries() - } - - return se -} - - -// Definition of class Item (a document or link inside a Folder) -// ************************************************************* - -function Item(itemDescription, tagName, itemLink) // Constructor -{ - // constant data - this.desc = itemDescription - this.tagName = tagName - this.link = itemLink - this.id = -1 //initialized in initalize() - this.navObj = 0 //initialized in render() - this.iconImg = 0 //initialized in render() - this.iconSrc = "ftv2doc.gif" - - // methods - this.initialize = initializeItem - this.createIndex = createEntryIndex - this.hide = hideItem - this.display = display - this.renderOb = drawItem - this.totalHeight = totalHeight -} - -function hideItem() -{ - if (browserVersion == 1 || browserVersion == 3) { - if (this.navObj.style.display == "none") - return - this.navObj.style.display = "none" - } else { - if (this.navObj.visibility == "hidden") - return - this.navObj.visibility = "hidden" - } -} - -function initializeItem(level, lastNode, leftSide) -{ - this.createIndex() - - if (level>0) - if (lastNode) //the last 'brother' in the children array - { - this.renderOb(leftSide + "") - leftSide = leftSide + "" - } - else - { - this.renderOb(leftSide + "") - leftSide = leftSide + "" - } - else - this.renderOb("") -} - -function drawItem(leftSide) -{ - if (browserVersion == 2) - doc.write("") - if (browserVersion == 3) - doc.write("
") - - doc.write("\n\n") - doc.write("\n
") - doc.write(leftSide) - if (this.link!="") - { - doc.write("") - } - doc.write("") - if (this.link!="") - { - doc.write("") - } - doc.write("") - if (USETEXTLINKS && this.link!="") - doc.write("" + this.desc + "") - else - doc.write(this.desc) - if (this.tagName!="") - { - doc.write(" [external]"); - } - doc.write("\n
\n") - - if (browserVersion == 2) - doc.write("") - if (browserVersion == 3) - doc.write("
") - - if (browserVersion == 1) { - this.navObj = doc.all["item"+this.id] - this.iconImg = doc.all["itemIcon"+this.id] - } else if (browserVersion == 2) { - this.navObj = doc.layers["item"+this.id] - this.iconImg = this.navObj.document.images["itemIcon"+this.id] - doc.yPos=doc.yPos+this.navObj.clip.height - } else if (browserVersion == 3) { - this.navObj = doc.getElementById("item"+this.id) - this.iconImg = doc.images.namedItem("itemIcon"+this.id) - } -} - - -// Methods common to both objects (pseudo-inheritance) -// ******************************************************** - -function display() -{ - if (browserVersion == 1 || browserVersion == 3) - this.navObj.style.display = "block" - else - this.navObj.visibility = "show" -} - -function createEntryIndex() -{ - this.id = nEntries - indexOfEntries[nEntries] = this - nEntries++ -} - -// total height of subEntries open -function totalHeight() //used with browserVersion == 2 -{ - var h = this.navObj.clip.height - var i = 0 - - if (this.isOpen) //is a folder and _is_ open - for (i=0 ; i < this.nChildren; i++) - h = h + this.children[i].totalHeight() - - return h -} - - -// Events -// ********************************************************* - -function clickOnFolder(folderId) -{ - var clicked = indexOfEntries[folderId] - - if (!clicked.isOpen) - clickOnNode(folderId) - - return - - if (clicked.isSelected) - return -} - -function clickOnNode(folderId) -{ - var clickedFolder = 0 - var state = 0 - - clickedFolder = indexOfEntries[folderId] - state = clickedFolder.isOpen - - clickedFolder.setState(!state) //open<->close -} - -function initializeDocument() -{ - doc = document; - if (doc.all) - browserVersion = 1 //IE4 - else - if (doc.layers) - browserVersion = 2 //NS4 - else if(navigator.userAgent.toLowerCase().indexOf('gecko') != -1) - browserVersion = 3 //mozilla - else - browserVersion = 0 //other - - foldersTree.initialize(0, 1, "") - foldersTree.display() - - if (browserVersion > 0) - { - if(browserVersion != 3) - doc.write(" ") - - // close the whole tree - clickOnNode(0) - // open the root folder - clickOnNode(0) - } -} - -// Auxiliary Functions for Folder-Treee backward compatibility -// ********************************************************* - -function gFld(description, tagName, hreference) -{ - folder = new Folder(description, tagName, hreference) - return folder -} - -function gLnk(description, tagName, linkData) -{ - fullLink = "" - - if (linkData!="") - { - fullLink = "'"+linkData+"' target=\"basefrm\"" - } - - linkItem = new Item(description, tagName, fullLink) - return linkItem -} - -function insFld(parentFolder, childFolder) -{ - return parentFolder.addChild(childFolder) -} - -function insDoc(parentFolder, document) -{ - parentFolder.addChild(document) -} - -// Global variables -// **************** - -USETEXTLINKS = 1 -indexOfEntries = new Array -nEntries = 0 -doc = document -browserVersion = 0 -selectedFolder=0 -- cgit v1.2.3