InspIRCd  4.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)
 RouteDescriptor (RouteType t, Server *srv)

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

◆ server

Server* RouteDescriptor::server

For unicast, the destination Server

◆ 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: