Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

initfinish.h File Reference

Go to the source code of this file.

Functions

void make_forumtree (t_configuration *cfg, t_head *head)
void make_thread_tree (GdomeNode *posting_newdoc, GdomeNode *posting_index, GdomeNodeList *contents, t_thread *thread, t_posting *post, int level, int pos)
void handle_header (t_posting *p, GdomeNode *n, u_int64_t tid)
void cleanup_forumtree ()


Detailed Description

Author:
Christian Kruse, <cjk@wwwtech.de> The initialization function forwards and datatypes.

Definition in file initfinish.h.


Function Documentation

void cleanup_forumtree  ) 
 

This function free()s all for the thread tree reserved memory.

Definition at line 761 of file initfinish.c.

void handle_header t_posting p,
GdomeNode *  n,
u_int64_t  tid
 

This function reads the header data of a posting from the xml structure

Parameters:
p A pointer to the posting
n The 'Header' node
tid The thread id

Definition at line 705 of file initfinish.c.

void make_forumtree t_configuration cfg,
t_head head
 

This function creates the forum tree.

Parameters:
cfg The default configuration
head The head variable

Definition at line 370 of file initfinish.c.

void make_thread_tree GdomeNode *  posting_newdoc,
GdomeNode *  posting_index,
GdomeNodeList *  contents,
t_thread thread,
t_posting post,
int  level,
int  pos
 

This function creates recursively a thread structure.

Parameters:
posting_newdoc A node to the posting ('Message')
posting_index A node to the posting in the index file (for unid)
contents A node list of the contents ('MessageContent')
thread A pointer to the thread object
post A pointer to the actual thread
level The level of the posting
pos The position in the content list

Definition at line 558 of file initfinish.c.


Generated on Sun Apr 25 16:37:39 2004 for Classic Forum by doxygen 1.3.5