#include "config.h"
#include "defines.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <dlfcn.h>
#include <errno.h>
#include <sys/types.h>
#include <dirent.h>
#include <locale.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <gdome.h>
#include "readline.h"
#include "hashlib.h"
#include "utils.h"
#include "configparser.h"
#include "cfcgi.h"
#include "template.h"
#include "charconvert.h"
#include "clientlib.h"
#include "fo_arcview.h"
Go to the source code of this file.
Functions | |
| size_t | get_month_name (int month, u_char **name) |
| int | is_numeric (register const u_char *ptr) |
| t_array * | read_dir_content (const u_char *dir) |
| u_char * | get_next_token (register u_char *ptr, const u_char *base, size_t len, const u_char *token, size_t tlen) |
| u_int64_t | get_id (u_char *ptr, const u_char *base, size_t len) |
| void | generate_thread_output (t_arc_message *msg, t_string *threads, t_string *threadlist, t_cf_template *pt_tpl, t_cf_template *tl_tpl, t_cf_template *ud_tpl, t_name_value *cs, int admin, int show_invisible) |
| void | print_thread_structure (t_arc_thread *thr, const u_char *year, const u_char *month, int admin, int show_invisible) |
| void | set_nodevalue_to_str (GdomeNode *n, t_string *str) |
| void | handle_header (t_arc_message *p, GdomeNode *n) |
| void | make_thread_tree (t_arc_thread *thread, t_arc_message *msg, GdomeNode *posting, t_cf_tree *tree) |
| void | create_thread_structure (GdomeDocument *doc, t_arc_thread *thr) |
| void | show_thread (const u_char *year, const u_char *month, const u_char *tid) |
| void | show_month_content (const u_char *year, const u_char *month) |
| void | show_year_content (const u_char *year) |
| void | show_year_list (void) |
| int | main (int argc, char *argv[], char *env[]) |
Definition in file fo_arcview.c.
|
||||||||||||
|
Function for creating a thread structure. Uses make_thread_tree()
Definition at line 571 of file fo_arcview.c. |
|
||||||||||||||||||||||||||||||||||||||||
|
Recursive function for generating a thread view
Definition at line 190 of file fo_arcview.c. |
|
||||||||||||||||
|
Helper function for reading the id of an element
Definition at line 171 of file fo_arcview.c. |
|
||||||||||||
|
function for getting the month name from a month number
Definition at line 65 of file fo_arcview.c. |
|
||||||||||||||||||||||||
|
Helper function for the parsing of the XML files
Definition at line 153 of file fo_arcview.c. |
|
||||||||||||
|
Helper function for getting header informations
Definition at line 395 of file fo_arcview.c. |
|
|
function checking if a given u_char array only consists of numbers
Definition at line 86 of file fo_arcview.c. |
|
||||||||||||||||
|
The main function of the forum archive viewer. No command line switches used.
Definition at line 960 of file fo_arcview.c. |
|
||||||||||||||||||||
|
Recursive function to create a hierarchical thread tree
Definition at line 458 of file fo_arcview.c. |
|
||||||||||||||||||||||||
|
Function for printing a thread structure
Definition at line 282 of file fo_arcview.c. |
|
|
Function for reading directory content. All directory entries beginning with a dot are ignored.
Definition at line 117 of file fo_arcview.c. |
|
||||||||||||
|
Helper function to set the contents of a node to a t_string string
Definition at line 355 of file fo_arcview.c. |
|
||||||||||||
|
Function for showing the contents of a month
Definition at line 710 of file fo_arcview.c. |
|
||||||||||||||||
|
Function for showing a thread of the archive
Definition at line 647 of file fo_arcview.c. |
|
|
Functions for showing the contents of a year
Definition at line 839 of file fo_arcview.c. |
|
|
Function for showing a list of years Definition at line 906 of file fo_arcview.c. |
1.3.5