#include "config.h"
#include "defines.h"
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <time.h>
#include <gdome.h>
#include "cf_pthread.h"
#include "hashlib.h"
#include "utils.h"
#include "configparser.h"
#include "readline.h"
#include "fo_server.h"
#include "initfinish.h"
#include "charconvert.h"
#include "xml_handling.h"
#include "serverlib.h"
Go to the source code of this file.
Data Structures | |
| struct | s_h_p |
Typedefs | |
| typedef s_h_p | t_h_p |
Functions | |
| t_posting * | hirarchy_them (t_h_p *parent, t_posting *pst) |
| void | quicksort_posts (t_h_p *list, long low, long high) |
| void | sort_them (t_h_p *node) |
| void | free_structs (t_h_p *node) |
| t_posting * | serialize_them (t_h_p *node, int sort) |
| void | sort_postings (t_posting *posts, int sort) |
| void | quicksort_threads (t_thread **list, long low, long high) |
| void | sort_threadlist (t_head *head) |
| void | make_forumtree (t_configuration *cfg, t_head *head) |
| GdomeNode * | get_posting_content (GdomeNodeList *contents, unsigned long long mid) |
| 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 () |
Definition in file initfinish.c.
|
|
This struct is used to sort the thread list. It contains a hierarchical structure. |
|
|
This function free()s all for the thread tree reserved memory. Definition at line 761 of file initfinish.c. |
|
|
This function cleans up a hierarchical structure
Definition at line 140 of file initfinish.c. |
|
||||||||||||
|
This function searches for the MessageContent entry of the node
Definition at line 499 of file initfinish.c. |
|
||||||||||||||||
|
This function reads the header data of a posting from the xml structure
Definition at line 705 of file initfinish.c. |
|
||||||||||||
|
Insert the postings to a hierarchy level. This function works recursively.
Definition at line 59 of file initfinish.c. |
|
||||||||||||
|
This function creates the forum tree.
Definition at line 370 of file initfinish.c. |
|
||||||||||||||||||||||||||||||||
|
This function creates recursively a thread structure.
Definition at line 558 of file initfinish.c. |
|
||||||||||||||||
|
Quicksort-function for the postings
Definition at line 93 of file initfinish.c. |
|
||||||||||||||||
|
This function is a quicksort function for the threads.
Definition at line 267 of file initfinish.c. |
|
||||||||||||
|
This function serializes a hierarchical structure into a flat chain
Definition at line 160 of file initfinish.c. |
|
||||||||||||
|
This function sorts the postings
Definition at line 239 of file initfinish.c. |
|
|
Sorting function.
Definition at line 121 of file initfinish.c. |
|
|
This function does all the sorting work
Definition at line 295 of file initfinish.c. |
1.3.5