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

flt_frameset.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/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

void gen_tpl_name (u_char buff[256], u_char *tpl)
int execute_filter (t_cf_hash *head, t_configuration *dc, t_configuration *vc)
int set_cf_variables (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_cf_template *top, t_cf_template *end)
int set_posting_vars (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_cl_thread *thr, t_cf_template *tpl)
int set_list_vars (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_message *msg, unsigned long long tid, int mode)
int get_conf (t_configfile *f, t_conf_opt *opt, u_char **args, int argnum)
int get_tpls (t_configfile *f, t_conf_opt *opt, u_char **args, int argnum)
void finish (void)

Variables

int ShallFrameset = 0
u_char * TplFrameset
u_char * TplBlank
t_conf_opt config []
t_handler_config handlers []
t_module_config flt_frameset


Detailed Description

Author:
Christian Kruse, <cjk@wwwtech.de>
This plugin implements the forum view in a frameset

Definition in file flt_frameset.c.


Variable Documentation

t_conf_opt config[]
 

Initial value:

 {
  { "ShowForumAsFrameset", get_conf, NULL },
  { "TemplatesFrameset",   get_tpls, NULL },
  { NULL, NULL, NULL }
}

Definition at line 186 of file flt_frameset.c.

t_module_config flt_frameset
 

Initial value:

 {
  config,
  handlers,
  NULL,
  NULL,
  NULL,
  finish
}

Definition at line 200 of file flt_frameset.c.

t_handler_config handlers[]
 

Initial value:

 {
  { INIT_HANDLER,      execute_filter   },
  { VIEW_INIT_HANDLER, set_cf_variables    },
  { POSTING_HANDLER,   set_posting_vars },
  { VIEW_LIST_HANDLER, set_list_vars    },
  { 0, NULL }
}

Definition at line 192 of file flt_frameset.c.


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