irc_string.c File Reference

#include "stdinc.h"
#include "server.h"

Go to the source code of this file.

Functions

int valid_hostname (const char *hostname)
int valid_username (const char *username)
int valid_servername (const char *servername)

Variables

const unsigned char ToLowerTab []
const unsigned char ToUpperTab []
const unsigned int CharAttrs []

Function Documentation

int valid_hostname ( const char *  hostname  ) 

Definition at line 34 of file irc_string.c.

References IsHostChar, and s_assert.

Referenced by AddUser().

int valid_servername ( const char *  servername  ) 

Definition at line 80 of file irc_string.c.

References IsServChar.

Referenced by new_serv().

int valid_username ( const char *  username  ) 

Definition at line 62 of file irc_string.c.

References IsUserChar.


Variable Documentation

const unsigned int CharAttrs[]

Definition at line 181 of file irc_string.c.

const unsigned char ToLowerTab[]

Definition at line 107 of file irc_string.c.

const unsigned char ToUpperTab[]

Definition at line 144 of file irc_string.c.

Generated on Mon Jul 19 21:53:05 2010 for Omega Security Services by  doxygen 1.6.3