InspIRCd  2.0
Public Member Functions | Public Attributes | List of all members
RouteDescriptor Struct Reference

#include <ctables.h>

Public Member Functions

 RouteDescriptor (RouteType t, const std::string &d)

Public Attributes

RouteType type
std::string serverdest

Detailed Description

Defines routing information for a command, containing a destination server id (if applicable) and a routing type from the enum above.

Constructor & Destructor Documentation

◆ RouteDescriptor()

RouteDescriptor::RouteDescriptor ( RouteType  t,
const std::string &  d 

Create a RouteDescriptor

Member Data Documentation

◆ serverdest

std::string RouteDescriptor::serverdest

For unicast, the destination server's name

◆ type

RouteType RouteDescriptor::type

Routing type from the enum above

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