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

flt_deleted.c File Reference

#include "config.h"
#include "defines.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.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_deleted_compare (t_cf_tree_dataset *a, t_cf_tree_dataset *b)
void flt_deleted_create_tree ()
int execute_filter (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_cl_thread *thread, int mode)
int posting_list_filter (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_message *msg, unsigned long long tid, int mode)
int delete_thread (t_cf_hash *head, t_configuration *dc, t_configuration *vc)
int flt_del_handle_command (t_configfile *cf, t_conf_opt *opt, u_char **args, int argnum)
void flt_del_cleanup (void)
int flt_deleted_validate (t_cf_hash *head, t_configuration *dc, t_configuration *vc, time_t last_modified, int sock)
time_t flt_deleted_lm (t_cf_hash *head, t_configuration *dc, t_configuration *vc, int sock)

Variables

struct {
   u_char **   BlackList
   long   BLlen
   int   FollowUps
   time_t   ShowFrom
   time_t   ShowUntil
   u_char *   DeletedFile
   t_cf_tree   tree
Cfg
t_conf_opt config []
t_handler_config handlers []
t_module_config flt_deleted


Detailed Description

Author:
Christian Kruse, <cjk@wwwtech.de>
This plugin hides deleted postings

Definition in file flt_deleted.c.


Variable Documentation

t_conf_opt config[]
 

Initial value:

 {
  { "BlackList",               flt_del_handle_command, NULL },
  { "ShowBlacklistFollowups",  flt_del_handle_command, NULL },
  { "ShowFrom",                flt_del_handle_command, NULL },
  { "ShowUntil",               flt_del_handle_command, NULL },
  { "DeletedFile",             flt_del_handle_command, NULL },
  { NULL, NULL, NULL }
}

Definition at line 275 of file flt_deleted.c.

t_module_config flt_deleted
 

Initial value:

 {
  config,
  handlers,
  flt_deleted_validate,
  flt_deleted_lm,
  NULL,
  flt_del_cleanup
}

Definition at line 291 of file flt_deleted.c.

t_handler_config handlers[]
 

Initial value:

 {
  { INIT_HANDLER,      delete_thread       },
  { VIEW_HANDLER,      execute_filter      },
  { VIEW_LIST_HANDLER, posting_list_filter },
  { 0, NULL }
}

Definition at line 284 of file flt_deleted.c.


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