#include "config.h"
#include "defines.h"
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/wait.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 "serverlib.h"
#include "xml_handling.h"
#include "charconvert.h"
#include "archiver.h"
Go to the source code of this file.
Functions | |
| void | cf_delete_threadfile (t_thread *t) |
| time_t | cf_get_time (GdomeNode *n) |
| void | cf_make_path (u_char *path) |
| void | cf_archive_threads (t_thread **to_archive, int len) |
| void | cf_run_archiver_and_write_to_disk (void) |
| void | cf_archive_thread (int sockfd, u_int64_t tid) |
Implement indexer for the "SELFHTML Suche" and the "Neue SELFHTML Suche"
Definition in file archiver.c.
|
||||||||||||
|
This function archives a specific thread.
Definition at line 545 of file archiver.c. |
|
||||||||||||
|
This function archives a list of threads to their right position in the archive.
Definition at line 126 of file archiver.c. |
|
|
This function deletes an archived thread file
Definition at line 55 of file archiver.c. |
|
|
Reads the <Date longSec="epochseconds"/> element and returns them.
Definition at line 65 of file archiver.c. |
|
|
This function creates the path segments if necessary. Beginning from the start on every / it stops and calls mkdir() with the string to the actual position
Definition at line 98 of file archiver.c. |
|
|
This function runs the archiver and writes the actual threadlist to disk. It gets exclusive access to the postings, so don't call this function *too* often! Definition at line 292 of file archiver.c. |
1.3.5