Home| base |src.lib|xml|tagdb| TagDBAddTable Index

TagDBAddTable

Syntax
int TagDBAddTable(struct TagDBtable *ptr, struct XMLDBbuffer *name,struct XMLDBbuffer *start, struct XMLDBbuffer *end);
Header
base/tagdb.h
Library
tagdb
Description

The TagDBAddTable function add a tag to a lookup table of tags.

The structure containing the tag lookup table is pointed to by the argument ptr.

The name of the tag is stored in the structure pointed to by the argument name.

The replacement text to use when the start and end tags are parsed, is stored in the structures pointed to by the arguments start and end.

Returns
Returns zero on success. On error, (-1) is returned.
Errors
On error (-1) is returned.
Example
None