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

flt_registerednames.c File Reference

#include "config.h"
#include "defines.h"
#include <db.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 <pthread.h>
#include "cf_pthread.h"
#include "readline.h"
#include "hashlib.h"
#include "utils.h"
#include "configparser.h"
#include "fo_server.h"
#include "serverlib.h"

Go to the source code of this file.

Functions

u_char * transform (const u_char *val)
int check_auth (u_char *name, u_char *pass)
unsigned long long hashval (DB *db, u_char *key, size_t length)
int flt_registerednames_handler (int connfd, const u_char **tokens, int tnum, rline_t *tsd)
int flt_registerednames_init_module (int sock)
int flt_registerednames_handle_command (t_configfile *cf, t_conf_opt *opt, u_char **args, int argnum)
void flt_registerednames_cleanup (void)

Variables

t_conf_opt flt_registerednames_config []
t_handler_config flt_registerednames_handlers []
t_module_config flt_registerednames


Detailed Description

Author:
Christian Kruse
This plugin ensures that posters cannot post with registered names

Definition in file flt_registerednames.c.


Variable Documentation

t_module_config flt_registerednames
 

Initial value:

 {
  flt_registerednames_config,
  flt_registerednames_handlers,
  NULL,
  NULL,
  NULL,
  flt_registerednames_cleanup
}

Definition at line 324 of file flt_registerednames.c.

t_conf_opt flt_registerednames_config[]
 

Initial value:

 {
  { "AuthNames", flt_registerednames_handle_command, NULL },
  { NULL, NULL, NULL }
}

Definition at line 314 of file flt_registerednames.c.

t_handler_config flt_registerednames_handlers[]
 

Initial value:

 {
  { INIT_HANDLER,            flt_registerednames_init_module   },
  { 0, NULL }
}

Definition at line 319 of file flt_registerednames.c.


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