The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

HashResetRequest Class Reference

Send this class to the hashing module to reset the Hash module to a known state. More...

#include <m_hash.h>

Inheritance diagram for HashResetRequest:

Inheritance graph
[legend]
Collaboration diagram for HashResetRequest:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HashResetRequest (Module *Me, Module *Target)
 Initialize HashResetRequest for sending.

Detailed Description

Send this class to the hashing module to reset the Hash module to a known state.

This will reset the IV to the defaults specified by the Hash spec, and reset the hex sequence to "0123456789abcdef". It should be sent before ANY other Request types.

Example:

 // Reset the Hash module.
 HashResetRequest(this, HashModule).Send();

Definition at line 105 of file m_hash.h.


Constructor & Destructor Documentation

HashResetRequest::HashResetRequest Module Me,
Module Target
[inline]
 

Initialize HashResetRequest for sending.

Parameters:
Me A pointer to the sending module
Target A pointer to the hashing module

Definition at line 112 of file m_hash.h.


The documentation for this class was generated from the following file: