Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ConnectClass Class Reference

Holds information relevent to <connect allow> and <connect deny> tags in the config file. More...

#include <users.h>

Inheritance diagram for ConnectClass:

Inheritance graph
[legend]
Collaboration diagram for ConnectClass:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ConnectClass ()

Public Attributes

int type
 Type of line, either CC_ALLOW or CC_DENY.

int registration_timeout
 Max time to register the connection in seconds.

int flood
 Number of lines in buffer before excess flood is triggered.

char host [MAXBUF]
 Host mask for this line.

char pass [MAXBUF]
 (Optional) Password for this line


Detailed Description

Holds information relevent to <connect allow> and <connect deny> tags in the config file.

Definition at line 34 of file users.h.


Constructor & Destructor Documentation

ConnectClass::ConnectClass   [inline]
 

Definition at line 53 of file users.h.

00054         {
00055                 registration_timeout = 0;
00056                 flood = 0;
00057                 strcpy(host,"");
00058                 strcpy(pass,"");
00059         }


Member Data Documentation

int ConnectClass::flood
 

Number of lines in buffer before excess flood is triggered.

Definition at line 45 of file users.h.

char ConnectClass::host[MAXBUF]
 

Host mask for this line.

Definition at line 48 of file users.h.

char ConnectClass::pass[MAXBUF]
 

(Optional) Password for this line

Definition at line 51 of file users.h.

int ConnectClass::registration_timeout
 

Max time to register the connection in seconds.

Definition at line 42 of file users.h.

int ConnectClass::type
 

Type of line, either CC_ALLOW or CC_DENY.

Definition at line 39 of file users.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 29 16:30:47 2004 for InspIRCd by doxygen1.3-rc3