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

flt_visited.c File Reference

#include "config.h"
#include "defines.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "readline.h"
#include "hashlib.h"
#include "utils.h"
#include "configparser.h"
#include "cfcgi.h"
#include "template.h"
#include "clientlib.h"

Go to the source code of this file.

Functions

int flt_visited_compare (t_cf_tree_dataset *a, t_cf_tree_dataset *b)
void flt_visited_create_tree ()
void * flt_visited_is_visited (void *vmid)
void * flt_visited_mark_visited (void *vmid)
int execute_filter (t_cf_hash *head, t_configuration *dc, t_configuration *vc, int sock)
int set_col (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_cf_template *begin, t_cf_template *end)
int posting_handler (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_cl_thread *thread, t_cf_template *tpl)
int mark_visited (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_message *msg, unsigned long long tid, int mode)
int flt_visit_handle_command (t_configfile *cf, t_conf_opt *opt, u_char **args, int argnum)
int flt_visited_validate (t_cf_hash *head, t_configuration *dc, t_configuration *vc, time_t last_modified, int sock)
time_t flt_visited_lm (t_cf_hash *head, t_configuration *dc, t_configuration *vc, int sock)
void flt_visited_cleanup (void)

Variables

struct {
   int   HighlightVisitedPostings
   u_char *   VisitedPostingsColorF
   u_char *   VisitedPostingsColorB
   u_char *   VisitedFile
   t_cf_tree   tree
Cfg
t_conf_opt flt_visited_config []
t_handler_config flt_visited_handlers []
t_module_config flt_visited


Detailed Description

Author:
Christian Kruse, <cjk@wwwtech.de>
This filter marks threads visited

Definition in file flt_visited.c.


Variable Documentation

t_module_config flt_visited
 

Initial value:

 {
  flt_visited_config,
  flt_visited_handlers,
  flt_visited_validate,
  flt_visited_lm,
  NULL,
  flt_visited_cleanup
}

Definition at line 339 of file flt_visited.c.

t_conf_opt flt_visited_config[]
 

Initial value:

 {
  { "HighlightVisitedPostings", flt_visit_handle_command, NULL },
  { "VisitedPostingsColors",    flt_visit_handle_command, NULL },
  { "VisitedFile",              flt_visit_handle_command, NULL },
  { NULL, NULL, NULL }
}

Definition at line 324 of file flt_visited.c.

t_handler_config flt_visited_handlers[]
 

Initial value:

 {
  { CONNECT_INIT_HANDLER, execute_filter  },
  { VIEW_INIT_HANDLER,    set_col         },
  { POSTING_HANDLER,      posting_handler },
  { VIEW_LIST_HANDLER,    mark_visited    },
  { 0, NULL }
}

Definition at line 331 of file flt_visited.c.


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