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

flt_posting.c File Reference

#include "config.h"
#include "defines.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <ctype.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"
#include "charconvert.h"

Go to the source code of this file.

Functions

u_char * convert (const u_char *in, size_t len, size_t *olen, const t_name_value *cs)
void replace_placeholders (const u_char *str, t_string *appender, t_cl_thread *thread)
t_messageget_parent_message (t_message *msgs, t_message *tmsg)
int next_line_is_no_quote_line (const u_char *ptr)
void msg_to_html (const u_char *msg, t_string *content, t_string *cite)
int execute_filter (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_cl_thread *thread, t_cf_template *tpl)
void * flt_posting_api_get_qchars (void *arg)
void * flt_posting_api_msg_to_html (void *arg)
int handle_q (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
int handle_st (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
int handle_greet (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
int handle_link (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
int handle_sig (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
int handle_box (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
int handle_prev (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
int handle_prevt (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
int handle_actpcol (t_configfile *cfile, t_conf_opt *opt, u_char **args, int argnum)
void cleanup (void)
int register_hooks (t_cf_hash *cgi, t_configuration *dc, t_configuration *vc)

Variables

struct {
   int   ShowSig
   int   DoQuote
   u_char *   QuotingChars
   u_char *   ShowThread
   u_char *   Hi
   u_char *   Bye
   u_char *   Signature
   u_char *   link
   u_char *   TWidth
   u_char *   THeight
   u_char *   ActiveColorF
   u_char *   ActiveColorB
   int   Preview
   int   PreviewSwitchType
Cfg
t_conf_opt config []
t_handler_config handlers []
t_module_config flt_posting


Detailed Description

Author:
Christian Kruse, <cjk@wwwtech.de>
This plugin handles a posting read request

Definition in file flt_posting.c.


Variable Documentation

t_conf_opt config[]
 

Initial value:

 {
  { "DoQuote",                    handle_q,        NULL },
  { "QuotingChars",               handle_q,        NULL },
  { "ShowThread",                 handle_st,       NULL },
  { "Hi",                         handle_greet,    NULL },
  { "Bye",                        handle_greet,    NULL },
  { "Signature",                  handle_greet,    NULL },
  { "PostingLinkTarget",          handle_link,     NULL },
  { "ShowSig",                    handle_sig,      NULL },
  { "TextBox",                    handle_box,      NULL },
  { "GeneratePreview",            handle_prev,     NULL },
  { "PreviewSwitchType",          handle_prevt,    NULL },
  { "ActivePostingColor",         handle_actpcol,  NULL },
  { NULL, NULL, NULL }
}

Definition at line 765 of file flt_posting.c.

t_module_config flt_posting
 

Initial value:

 {
  config,
  handlers,
  NULL,
  NULL,
  NULL,
  cleanup
}

Definition at line 791 of file flt_posting.c.

t_handler_config handlers[]
 

Initial value:

 {
  { INIT_HANDLER, register_hooks    },
  { POSTING_HANDLER, execute_filter },
  { 0, NULL }
}

Definition at line 783 of file flt_posting.c.


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